summaryrefslogtreecommitdiff
path: root/libavformat/vqf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-09-15 18:01:32 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-09-15 18:02:43 +0200
commit7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d (patch)
tree08d1d4010e20cd696e358bf03f9e2565f3256e0c /libavformat/vqf.c
parent28e023377cfe42c5406441eeff32842c1bb1f09f (diff)
lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.
Diffstat (limited to 'libavformat/vqf.c')
-rw-r--r--libavformat/vqf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/vqf.c b/libavformat/vqf.c
index 29c726dae9..06363a963c 100644
--- a/libavformat/vqf.c
+++ b/libavformat/vqf.c
@@ -211,8 +211,8 @@ static int vqf_read_header(AVFormatContext *s)
size = 2048;
break;
default:
- av_log(s, AV_LOG_ERROR, "Mode not suported: %d Hz, %d kb/s.\n",
- st->codec->sample_rate, st->codec->bit_rate);
+ av_log(s, AV_LOG_ERROR, "Mode not suported: %d Hz, %"PRId64" kb/s.\n",
+ st->codec->sample_rate, (int64_t)st->codec->bit_rate);
return -1;
}
c->frame_bit_len = st->codec->bit_rate*size/st->codec->sample_rate;