#5044(avformat:new): overflow in mpegtsenc cbr period calculations
#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
#5044: overflow in mpegtsenc cbr period calculations -------------------------------------+------------------------------------ Reporter: fabled | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: => mpegts Comment: Please either: * send your patch made with {{{git format-patch}}} to the FFmpeg development mailing list where it can be discussed, patches are ignored on this bug tracker. or * provide a command line that allows to reproduce the issue you'd like to fix together with the complete, uncut console output testing current FFmpeg git head to make this a valid ticket. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5044#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5044: overflow in mpegtsenc cbr period calculations -------------------------------------+------------------------------------ Reporter: fabled | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by fabled): Oh, seems the policy changed since I last submitted something (ages ago). Patch sent on the devel list mailing address. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5044#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5044: overflow in mpegtsenc cbr period calculations ------------------------------------+------------------------------------ Reporter: fabled | Owner: Type: defect | Status: closed Priority: normal | Component: avformat Version: git-master | Resolution: fixed Keywords: mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by cehoyos): * status: new => closed * version: unspecified => git-master * resolution: => fixed Comment: Thank you, your patch was applied as 64f7db554ee83846f207e82a08946a6a5a6acfe2 -- Ticket URL: <https://trac.ffmpeg.org/ticket/5044#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg