Browse Source

Decode stuff from extradata as well.

Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
9b7ca3b71d
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/mpeg12.c

+ 3
- 0
libavcodec/mpeg12.c View File

@@ -2283,6 +2283,9 @@ static int mpeg_decode_frame(AVCodecContext *avctx,

s->slice_count= 0;

if(avctx->extradata && !avctx->frame_number)
decode_chunks(avctx, picture, data_size, avctx->extradata, avctx->extradata_size);

return decode_chunks(avctx, picture, data_size, buf, buf_size);
}



Loading…
Cancel
Save