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

Unified · Split

libavfilter/af_resample.c+4−0
@@ -119,7 +119,11 @@ static int config_output(AVFilterLink *outlink) · 118 unmodified lines
119 av_get_channel_layout_string(buf2, sizeof(buf2),119 av_get_channel_layout_string(buf2, sizeof(buf2),
120 -1, outlink->channel_layout);120 -1, outlink->channel_layout);
121 av_log(ctx, AV_LOG_VERBOSE,121 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
122 "fmt:%s srate:%d cl:%s -> fmt:%s srate:%d cl:%s\n",125 "fmt:%s srate:%d cl:%s -> fmt:%s srate:%d cl:%s\n",
126#endif /* FF_API_SAMPLERATE64 */
123 av_get_sample_fmt_name(inlink ->format), inlink ->sample_rate, buf1,127 av_get_sample_fmt_name(inlink ->format), inlink ->sample_rate, buf1,
124 av_get_sample_fmt_name(outlink->format), outlink->sample_rate, buf2);128 av_get_sample_fmt_name(outlink->format), outlink->sample_rate, buf2);
125 129

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