]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/adxdec.c
Merge commit '48b80f8393d418ad35d73f5a36f5011de1928f3c'
[ffmpeg] / libavformat / adxdec.c
index 0315ecb39d6282db1287aa44fd9ffe9e7ee47f75..a271e2afa80a7e8ca08878c5a373ac98ed7d220c 100644 (file)
@@ -116,7 +116,7 @@ static int adx_read_header(AVFormatContext *s)
 
     par->codec_type  = AVMEDIA_TYPE_AUDIO;
     par->codec_id    = s->iformat->raw_codec_id;
-    par->bit_rate    = par->sample_rate * par->channels * BLOCK_SIZE * 8LL / BLOCK_SAMPLES;
+    par->bit_rate    = (int64_t)par->sample_rate * par->channels * BLOCK_SIZE * 8LL / BLOCK_SAMPLES;
 
     avpriv_set_pts_info(st, 64, BLOCK_SAMPLES, par->sample_rate);