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/g729dec.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/g729dec.c')
-rw-r--r-- | libavformat/g729dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/g729dec.c b/libavformat/g729dec.c index 794558ef10..349a014340 100644 --- a/libavformat/g729dec.c +++ b/libavformat/g729dec.c @@ -57,7 +57,7 @@ static int g729_read_header(AVFormatContext *s) } else if (s->bit_rate == 8000) { st->codec->block_align = 10; } else { - av_log(s, AV_LOG_ERROR, "Only 8000 b/s and 6400 b/s bitrates are supported. Provided: %d b/s\n", s->bit_rate); + av_log(s, AV_LOG_ERROR, "Only 8000 b/s and 6400 b/s bitrates are supported. Provided: %"PRId64" b/s\n", (int64_t)s->bit_rate); return AVERROR_INVALIDDATA; } |