#5044: overflow in mpegtsenc cbr period calculations
----------------------------------+---------------------------------------
Reporter: fabled | Type: defect
Status: new | Priority: normal
Component: avformat | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
ts->mux_rate is int (signed 32-bit) type. many of the calculations will
overflow when mux_rate > 5mbps.
see attached patch to use av_rescale instead.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5044>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac