[FFmpeg-devel] [PATCH 1/2] avformat/mov: Use av_rescale when calculating bit rate

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Oct 20 21:43:45 EEST 2021


On 10/20/2021 7:30 PM, Michael Niedermayer wrote:
> Does something ensure time_scale * 8 fits in int ? if not this needs a cast to *int64_t

You're right, this could break on systems with 32-bit int.

v2 sent.

- erek


More information about the ffmpeg-devel mailing list