diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-09-15 17:29:38 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-09-15 18:02:47 +0200 |
commit | c311713ca99cb0556609972ba60d3634dc96c7a0 (patch) | |
tree | e664c2e39639f0189fe9255fb7dda2ef86a22869 /libavformat/dump.c | |
parent | 7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d (diff) | |
download | ffmpeg-c311713ca99cb0556609972ba60d3634dc96c7a0.tar.gz |
lavf: Switch bitrate to 64bit unless compatibility with avconv was requested.
Based on a patch by Steve Swanson, swanysteve at gmail.
Fixes ticket #2089.
Diffstat (limited to 'libavformat/dump.c')
-rw-r--r-- | libavformat/dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dump.c b/libavformat/dump.c index 705da82148..7ed766554b 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -518,7 +518,7 @@ void av_dump_format(AVFormatContext *ic, int index, } av_log(NULL, AV_LOG_INFO, ", bitrate: "); if (ic->bit_rate) - av_log(NULL, AV_LOG_INFO, "%d kb/s", ic->bit_rate / 1000); + av_log(NULL, AV_LOG_INFO, "%"PRId64" kb/s", (int64_t)ic->bit_rate / 1000); else av_log(NULL, AV_LOG_INFO, "N/A"); av_log(NULL, AV_LOG_INFO, "\n"); |