Mercurial > libavformat.hg
changeset 1348:c23cce23abb2 libavformat
fix audio for mog_op1a_prompeg_mpeg.mxf
author | bcoudurier |
---|---|
date | Mon, 02 Oct 2006 14:12:50 +0000 |
parents | ff613c1c0795 |
children | 04b421915b14 |
files | mxf.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mxf.c Mon Oct 02 13:22:51 2006 +0000 +++ b/mxf.c Mon Oct 02 14:12:50 2006 +0000 @@ -866,6 +866,8 @@ 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) {