diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-04-03 18:28:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-04-03 18:28:16 +0000 |
commit | 9b7ca3b71d3e5d4e2cd010b0f004cdad00e8d354 (patch) | |
tree | 3023732d71e5e5b36558be8175f72cc9189ed881 | |
parent | 7f8ef97534d8f5f8f78216fb46f829ec14418d1b (diff) | |
download | ffmpeg-9b7ca3b71d3e5d4e2cd010b0f004cdad00e8d354.tar.gz |
Decode stuff from extradata as well.
Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpeg12.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 4e2df3a1d0..96d37c7327 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -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); } |