On Thu, Nov 26, 2015 at 07:47:53PM +0100, Nicolas George wrote: > Signed-off-by: Nicolas George <geo...@nsup.org> > --- > libavformat/utils.c | 2 ++ > 1 file changed, 2 insertions(+) > > > 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. > > > diff --git a/libavformat/utils.c b/libavformat/utils.c > index f33f2f5..d9165f1 100644 > --- a/libavformat/utils.c > +++ b/libavformat/utils.c > @@ -680,6 +680,8 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt) > av_init_packet(pkt); > ret = s->iformat->read_packet(s, pkt); > if (ret < 0) { > + if (ret == AVERROR_REDO) > + continue;
is the final user ever going to expect it somehow? -- Clément B.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel