From c311713ca99cb0556609972ba60d3634dc96c7a0 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 15 Sep 2015 17:29:38 +0200 Subject: lavf: Switch bitrate to 64bit unless compatibility with avconv was requested. Based on a patch by Steve Swanson, swanysteve at gmail. Fixes ticket #2089. --- libavformat/g729dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/g729dec.c') 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; } -- cgit v1.2.3