1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

dont forget table_size in the decode_frame return value

Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-03-30 14:13:03 +00:00
parent 1005f542b2
commit 1adc29eedb

View File

@ -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){