[FFmpeg-devel] [PATCH] Floating point exception
David Czech
davidczech510
Sun Dec 26 09:40:56 CET 2010
>
> >Yes, this is the wrong place, .den == 0 is an invalid value and a bug in
whatever sets it to that.
>Changing the code in ffmpeg.c means that other programs like MPlayer will
have to add the same hack and/or will still crash.
>It is unreasonable to expect users of libav* to check every single value
the library returns, that would mean 100s of lines of code even >before the
code does anything.
Yeah, I guess that makes sense (I just thought that it was checking for
time_base.num but forgot about time_base.den). I'm completely lost in
ffmpeg's source code, where should the fix be? Maybe some intense debugging
might show who sets it to zero (if anyone does), but if not who should check
it?
OK, Thanks again!
More information about the ffmpeg-devel
mailing list