From 1adc29eedbafaffaf451b1633ba5ace74ad022ed Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 30 Mar 2006 14:13:03 +0000 Subject: [PATCH] dont forget table_size in the decode_frame return value Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/huffyuv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index 39b0534a00..81fa685a8a 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -1015,7 +1015,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8 *picture= *p; *data_size = sizeof(AVFrame); - return (get_bits_count(&s->gb)+31)/32*4; + return (get_bits_count(&s->gb)+31)/32*4 + table_size; } static int common_end(HYuvContext *s){