[Ffmpeg-cvslog] r8502 - trunk/libavcodec/gifdec.c

Baptiste Coudurier baptiste.coudurier
Sun Mar 25 19:18:54 CEST 2007


bcoudurier wrote:
> Author: bcoudurier
> Date: Sun Mar 25 01:00:56 2007
> New Revision: 8502
> 
> Modified:
>    trunk/libavcodec/gifdec.c
> 
> Log:
> actually return bytes read
> 
> Modified: trunk/libavcodec/gifdec.c
> ==============================================================================
> --- trunk/libavcodec/gifdec.c	(original)
> +++ trunk/libavcodec/gifdec.c	Sun Mar 25 01:00:56 2007
> @@ -317,7 +317,7 @@ static int gif_decode_frame(AVCodecConte
>  
>      *picture = s->picture;
>      *data_size = sizeof(AVPicture);
> -    return 0;
> +    return s->bytestream - buf;
>  }

This change makes gif decoder in line with libavcodec API, same for
dnxhd decoder, may I increase subminor version to reflect this change ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list