[FFmpeg-cvslog] r12675 - trunk/libavcodec/mpeg12.c
michael
subversion
Thu Apr 3 20:28:16 CEST 2008
Author: michael
Date: Thu Apr 3 20:28:16 2008
New Revision: 12675
Log:
Decode stuff from extradata as well.
Modified:
trunk/libavcodec/mpeg12.c
Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c (original)
+++ trunk/libavcodec/mpeg12.c Thu Apr 3 20:28:16 2008
@@ -2283,6 +2283,9 @@ static int mpeg_decode_frame(AVCodecCont
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);
}
More information about the ffmpeg-cvslog
mailing list