[Ffmpeg-devel] [PATCH] Ratecontrol does not check for failure of ff_eval

Michael Niedermayer michaelni
Mon Sep 25 15:20:03 CEST 2006


Hi

On Mon, Sep 25, 2006 at 02:19:33PM +0200, Panagiotis Issaris wrote:
> Hi,
> 
> Op zondag 24 september 2006 14:57, schreef Michael Niedermayer:
> >[...]
> > > I'd think propagating the error would be the best thing to do, so the
> > > calling application can handle the error as it pleases. Would a patch
> > > propagating the NAN upwards be okay?
> > 
> > yes (or -1 or something like that)
> 
> Was the -1 suggestion just a preference or because of some idea of yours
> that NAN might fail somewhere? :)

i had a slightly bad feeling with returning nan but no concrete knowledge of
a problem ...


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list