[FFmpeg-cvslog] r18337 - trunk/libavcodec/mlpdec.c
ramiro
subversion
Sun Apr 5 22:54:19 CEST 2009
Author: ramiro
Date: Sun Apr 5 22:54:19 2009
New Revision: 18337
Log:
mlpdec: There must be no extraword for MLP.
Modified:
trunk/libavcodec/mlpdec.c
Modified: trunk/libavcodec/mlpdec.c
==============================================================================
--- trunk/libavcodec/mlpdec.c Sun Apr 5 22:46:53 2009 (r18336)
+++ trunk/libavcodec/mlpdec.c Sun Apr 5 22:54:19 2009 (r18337)
@@ -950,6 +950,10 @@ static int read_access_unit(AVCodecConte
substr_header_size += 2;
if (extraword_present) {
+ if (m->avctx->codec_id == CODEC_ID_MLP) {
+ av_log(m->avctx, AV_LOG_ERROR, "There must be no extraword for MLP.\n");
+ goto error;
+ }
skip_bits(&gb, 16);
substr_header_size += 2;
}
More information about the ffmpeg-cvslog
mailing list