Commit 9b7ca3b7 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Decode stuff from extradata as well.

Originally committed as revision 12675 to svn://
parent 7f8ef975
......@@ -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);
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