[FFmpeg-devel] [PATCH] fix for roundup issue 2475

Daniel Kang daniel.d.kang
Wed Jan 5 20:23:53 CET 2011


On Wed, Jan 5, 2011 at 11:23 AM, Reimar D?ffinger
<Reimar.Doeffinger at gmx.de>wrote:

>  On Tue, Jan 04, 2011 at 03:12:41PM -0500, Daniel Kang wrote:
> > I have updated the patch so that the condition to break (error out)
> > is <= 0.
>
> Well, I don't know what the intention was, but previously the code for a
> value of 0/0 would explicitly set that as indicating "invalid".
> I think that your patch probably is correct, but I don't know for sure.


ffmpeg had a failed assertion (roundup issue 2475), where c<0. Having
the check that the values are >0 should fix the failed assertion.



More information about the ffmpeg-devel mailing list