mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Decode stuff from extradata as well.
Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7f8ef97534
commit
9b7ca3b71d
@ -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…
Reference in New Issue
Block a user