[FFmpeg-devel] utils.c patch to avoid divide by zero
Wed Aug 26 21:35:55 CEST 2009
"Ronald S. Bultje" <rsbultje at gmail.com> writes:
> Hi Frank,
> On Wed, Aug 26, 2009 at 3:13 PM, Frank Barchard<fbarchard at google.com> wrote:
>> On Wed, Aug 26, 2009 at 6:51 AM, Ronald S. Bultje<rsbultje at gmail.com> wrote:
>>> If this is the same as what I think it is, then it's triggered by
>>> RTSP. I've emailed Luca & Luca about fixing it in rtsp.c (another bug)
>>> but we haven't agreed on a solution yet. The bug occurs for any audio
>>> stream with an unknown payload / codecID.
>> My crash wasn't RTSP; It came from Ogg Vorbis (audio) decoder. ?Which
>> is fixed now.
> I got that. RTSP is just another case that triggers the same bug.
> I think you should add an abort() on zero-divides
The CPU already does that.
mans at mansr.com
More information about the ffmpeg-devel