[FFmpeg-devel] [PATCH] PB-frames support for i263

compn tempn
Wed Feb 18 13:06:45 CET 2009


On Wed, 18 Feb 2009 12:43:04 +0100, Michael Niedermayer wrote:
>On Wed, Feb 18, 2009 at 10:40:56AM +0200, Kostya wrote:
>> On Tue, Feb 17, 2009 at 06:48:57PM +0100, Michael Niedermayer wrote:
>> > On Tue, Feb 17, 2009 at 08:29:36PM +0200, Kostya wrote:
>> +            return -1;
>
>dont return here, just print an error
>> +            return -1;
>
>dont return here, just print an error
>> +            return -1;
>
>dont return here, just print an error
>> +            return -1;
>
>dont return here, just print an error
>> +            return -1;
>
>dont return here, just print an error

perhapse this 'try to decode even when unexpected happens' idea should
go in ffmpeg codec howto (and cook decoder?)?

http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto

>   /* Check if the buffer was consumed ok */
>    if (get_bits(&q->gb,32) != 0x12345678) {
>       av_log(avctx,AV_LOG_ERROR,"Stream error, integrity check failed! \n");
>       return -1;

-compn




More information about the ffmpeg-devel mailing list