Commit 877519f5 authored by Baptiste Coudurier's avatar Baptiste Coudurier

actually return bytes read

Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7a28b771
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment