Commit 25e4cbec authored by michael's avatar michael

Decode stuff from extradata as well.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12675 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2d457e6e
...@@ -2283,6 +2283,9 @@ static int mpeg_decode_frame(AVCodecContext *avctx, ...@@ -2283,6 +2283,9 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
s->slice_count= 0; 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); return decode_chunks(avctx, picture, data_size, buf, buf_size);
} }
......
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