diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-03-30 14:13:03 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-03-30 14:13:03 +0000 |
commit | 1adc29eedbafaffaf451b1633ba5ace74ad022ed (patch) | |
tree | 4adcbc35e18f5e0bd30ddc8026be30f5124bb728 /libavcodec/huffyuv.c | |
parent | 1005f542b20cb152514c9496689148fc4456f438 (diff) | |
download | ffmpeg-1adc29eedbafaffaf451b1633ba5ace74ad022ed.tar.gz |
dont forget table_size in the decode_frame return value
Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/huffyuv.c')
-rw-r--r-- | libavcodec/huffyuv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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){ |