Commit 22db13ac authored by michael's avatar michael

dont forget table_size in the decode_frame return value


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5246 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8a78d494
...@@ -1015,7 +1015,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8 ...@@ -1015,7 +1015,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
*picture= *p; *picture= *p;
*data_size = sizeof(AVFrame); *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){ static int common_end(HYuvContext *s){
......
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