]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/bfi.c
avformat/hlsenc: deprecate hls_wrap option
[ffmpeg] / libavformat / bfi.c
index ef4c17dddb2dc646ac2d5c51e6d7c1daed94c552..6c98e33ab4a4812e4245dcef6ccd44bc6d3e27be 100644 (file)
@@ -108,7 +108,7 @@ static int bfi_read_header(AVFormatContext * s)
     astream->codecpar->channel_layout  = AV_CH_LAYOUT_MONO;
     astream->codecpar->bits_per_coded_sample = 8;
     astream->codecpar->bit_rate        =
-        astream->codecpar->sample_rate * astream->codecpar->bits_per_coded_sample;
+        (int64_t)astream->codecpar->sample_rate * astream->codecpar->bits_per_coded_sample;
     avio_seek(pb, chunk_header - 3, SEEK_SET);
     avpriv_set_pts_info(astream, 64, 1, astream->codecpar->sample_rate);
     return 0;