[FFmpeg-devel] [PATCH 2/3] lavf/utils: handle AVERROR_REDO.

Clément Bœsch u at pkh.me
Fri Nov 27 09:55:54 CET 2015


On Thu, Nov 26, 2015 at 11:42:03PM +0100, Nicolas George wrote:
> Le sextidi 6 frimaire, an CCXXIV, Clement Boesch a écrit :
> > > An option can be added later to grant applications fine-grained control on
> > > the looping, but it can not be the default as it would be an API change, and
> > > it probably should not be the default anyway.
> 
> > > +            if (ret == AVERROR_REDO)
> > > +                continue;
> > is the final user ever going to expect it somehow?
> 
> The final user does not see it at all, that is the whole point.
> 

But then it's still exposed by the API, and someone looking at handling
every error code might be wondering how to handle it.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151127/957476a9/attachment.sig>


More information about the ffmpeg-devel mailing list