Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-25 04:00:56 +0400
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-25 04:00:56 +0400
commit877519f550b8b8bfc227f1e5233a455b0dac1e06 (patch)
tree40c89366be27ec1d5ba2caf90b3890e722b81ac4 /libavcodec/gifdec.c
parent7a28b7714e4503149f773782a19708c773f3d62d (diff)
actually return bytes read
Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/gifdec.c')
-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)