summaryrefslogtreecommitdiff
path: root/libavformat/mxf.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-02 14:12:50 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-02 14:12:50 +0000
commitc86ecbb7ce3ffba97369a6764e020ee676fc3c36 (patch)
tree2c4e7d33a447644de10ec6f32b9d8e60ba2cd572 /libavformat/mxf.c
parent995d9ec77d2c15f30f6b7c71c85064d8bba0313a (diff)
fix audio for mog_op1a_prompeg_mpeg.mxf
Originally committed as revision 6530 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r--libavformat/mxf.c2
1 files changed, 2 insertions, 0 deletions
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) {