diff gifdec.c @ 4719:524ef62965bf libavcodec

actually return bytes read
author bcoudurier
date Sun, 25 Mar 2007 00:00:56 +0000
parents 9962405d2d18
children 7775ba23c931
line wrap: on
line diff
--- a/gifdec.c	Sat Mar 24 23:57:42 2007 +0000
+++ b/gifdec.c	Sun Mar 25 00:00:56 2007 +0000
@@ -317,7 +317,7 @@
 
     *picture = s->picture;
     *data_size = sizeof(AVPicture);
-    return 0;
+    return s->bytestream - buf;
 }
 
 static int gif_decode_close(AVCodecContext *avctx)