diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-03-25 00:00:56 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-03-25 00:00:56 +0000 |
commit | 877519f550b8b8bfc227f1e5233a455b0dac1e06 (patch) | |
tree | 40c89366be27ec1d5ba2caf90b3890e722b81ac4 | |
parent | 7a28b7714e4503149f773782a19708c773f3d62d (diff) | |
download | ffmpeg-877519f550b8b8bfc227f1e5233a455b0dac1e06.tar.gz |
actually return bytes read
Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/gifdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c index cd432b95d6..4d08b76aed 100644 --- a/libavcodec/gifdec.c +++ b/libavcodec/gifdec.c @@ -317,7 +317,7 @@ static int gif_decode_frame(AVCodecContext *avctx, void *data, int *data_size, u *picture = s->picture; *data_size = sizeof(AVPicture); - return 0; + return s->bytestream - buf; } static int gif_decode_close(AVCodecContext *avctx) |