[FFmpeg-devel] [PATCH 5/5] src_movie: implement multiple outputs.

Stefano Sabatini stefasab at gmail.com
Tue Jul 24 21:31:21 CEST 2012


On date Monday 2012-07-23 13:42:52 +0200, Nicolas George encoded:
> Le sextidi 6 thermidor, an CCXX, Stefano Sabatini a écrit :
> > A stream spec may contain a program_id or a stream_id, I don't know if
> > they could contain the '+' character.
[...]
> > >     if (!ret)
> > >         ret = pkt->size;
> > why this?
> 
> Some video decoders return 0 for success instead of the number of used
> bytes.

Isn't this a bug?

>From avcodec_decode_video2():
 * @return On error a negative value is returned, otherwise the number of bytes
 * used or zero if no frame could be decompressed.
-- 
FFmpeg = Fiendish Fundamentalist Miracolous Pure Extreme Gadget


More information about the ffmpeg-devel mailing list