[FFmpeg-devel] [PATCH] avformat/concatdec: pass the interrupt callback on

Michael Niedermayer michaelni at gmx.at
Mon Feb 10 15:44:03 CET 2014


On Sat, Feb 08, 2014 at 08:43:18PM +0800, Zhang Rui wrote:
> 2014-02-08 16:48 GMT+08:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> >
> > Zhang Rui <bbcallen <at> gmail.com> writes:
> >
> > > +    cat->avf = avformat_alloc_context();
> > > +    if (!cat->avf)
> > > +        return -1;
> >
> > Shouldn't this be ENOMEM?
> 
> Did you mean return AVERROR(ENOMEM)?

yes probably

and also fixed


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140210/88845237/attachment.asc>


More information about the ffmpeg-devel mailing list