]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/voc_packet.c
mov: Fix spherical metadata_source parsing
[ffmpeg] / libavformat / voc_packet.c
index 0d564367db10b64127fe6b4f0e8ffbe5fce803b8..4f60467ac41e20dc9ff9bf651c9a988794872ae5 100644 (file)
@@ -126,7 +126,7 @@ ff_voc_get_packet(AVFormatContext *s, AVPacket *pkt, AVStream *st, int max_size)
         }
     }
 
-    par->bit_rate = par->sample_rate * par->channels * par->bits_per_coded_sample;
+    par->bit_rate = (int64_t)par->sample_rate * par->channels * par->bits_per_coded_sample;
 
     if (max_size <= 0)
         max_size = 2048;