aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-25 00:00:56 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-25 00:00:56 +0000
commit877519f550b8b8bfc227f1e5233a455b0dac1e06 (patch)
tree40c89366be27ec1d5ba2caf90b3890e722b81ac4
parent7a28b7714e4503149f773782a19708c773f3d62d (diff)
downloadffmpeg-877519f550b8b8bfc227f1e5233a455b0dac1e06.tar.gz
actually return bytes read
Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/gifdec.c2
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)