diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-06-15 16:07:29 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-06-15 19:10:58 +0200 |
commit | fbc57405664876cb7f47f1ac264db16a3014e665 (patch) | |
tree | d38549a09ea92fadd8086b6e939abe4deaa177db | |
parent | 1cdcf043cae1a4654a59da1022ca3ec2b407cc45 (diff) | |
download | ffmpeg-fbc57405664876cb7f47f1ac264db16a3014e665.tar.gz |
af_resample: fix format modifier in debug string for FF_API_SAMPLERATE64
-rw-r--r-- | libavfilter/af_resample.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/af_resample.c b/libavfilter/af_resample.c index 8a02cfe976..bc4a0073a1 100644 --- a/libavfilter/af_resample.c +++ b/libavfilter/af_resample.c @@ -119,7 +119,11 @@ static int config_output(AVFilterLink *outlink) av_get_channel_layout_string(buf2, sizeof(buf2), -1, outlink->channel_layout); av_log(ctx, AV_LOG_VERBOSE, +#if FF_API_SAMPLERATE64 + "fmt:%s srate:%"PRId64" cl:%s -> fmt:%s srate:%"PRId64" cl:%s\n", +#else "fmt:%s srate:%d cl:%s -> fmt:%s srate:%d cl:%s\n", +#endif /* FF_API_SAMPLERATE64 */ av_get_sample_fmt_name(inlink ->format), inlink ->sample_rate, buf1, av_get_sample_fmt_name(outlink->format), outlink->sample_rate, buf2); |