Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-09-15 18:29:38 +0300
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-09-15 19:02:47 +0300
commitc311713ca99cb0556609972ba60d3634dc96c7a0 (patch)
treee664c2e39639f0189fe9255fb7dda2ef86a22869 /libavformat/g729dec.c
parent7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d (diff)
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.c2
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;
}