1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

actually return bytes read

Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2007-03-25 00:00:56 +00:00
parent 7a28b7714e
commit 877519f550

View File

@ -317,7 +317,7 @@ static int gif_decode_frame(AVCodecContext *avctx, void *data, int *data_size, u
*picture = s->picture; *picture = s->picture;
*data_size = sizeof(AVPicture); *data_size = sizeof(AVPicture);
return 0; return s->bytestream - buf;
} }
static int gif_decode_close(AVCodecContext *avctx) static int gif_decode_close(AVCodecContext *avctx)