actually return bytes read

Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 18 years ago
parent 7a28b7714e
commit 877519f550
  1. 2
      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)

Loading…
Cancel
Save