Browse Source

dont forget table_size in the decode_frame return value

Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 19 years ago
parent
commit
1adc29eedb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/huffyuv.c

+ 1
- 1
libavcodec/huffyuv.c 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){


Loading…
Cancel
Save