From c86ecbb7ce3ffba97369a6764e020ee676fc3c36 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 2 Oct 2006 14:12:50 +0000 Subject: [PATCH] fix audio for mog_op1a_prompeg_mpeg.mxf Originally committed as revision 6530 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mxf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mxf.c b/libavformat/mxf.c index d0fb2f0d94..95c7916ca6 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -866,6 +866,8 @@ static int mxf_parse_structural_metadata(MXFContext *mxf) st->codec->codec_id = CODEC_ID_PCM_S24BE; else if (descriptor->bits_per_sample == 32) st->codec->codec_id = CODEC_ID_PCM_S32BE; + } else if (st->codec->codec_id == CODEC_ID_MP2) { + st->need_parsing = 1; } } if (container_ul && container_ul->wrapping == Clip) {