History

af_resample: fix format modifier in debug string for FF_API_SAMPLERATE64

Janne Grunau committed 14 years ago

Commit fbc57401 parent 1cdcf041 file · +4 −0Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/af_resample.c+4−0
@@ -119,7 +119,11 @@ static int config_output(AVFilterLink *outlink) · 118 unmodified lines
119119 av_get_channel_layout_string(buf2, sizeof(buf2),
120120 -1, outlink->channel_layout);
121121 av_log(ctx, AV_LOG_VERBOSE,
122+#if FF_API_SAMPLERATE64
123+ "fmt:%s srate:%"PRId64" cl:%s -> fmt:%s srate:%"PRId64" cl:%s\n",
124+#else
122125 "fmt:%s srate:%d cl:%s -> fmt:%s srate:%d cl:%s\n",
126+#endif /* FF_API_SAMPLERATE64 */
123127 av_get_sample_fmt_name(inlink ->format), inlink ->sample_rate, buf1,
124128 av_get_sample_fmt_name(outlink->format), outlink->sample_rate, buf2);
125129

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t