summaryrefslogtreecommitdiff
path: root/libavformat/mxf.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-10 14:29:03 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-10 14:29:03 +0000
commitc74915cda4e32b2765707ba39345814050c87b4d (patch)
treea33253cd46941d9b18f30d597f7c3fde6934d077 /libavformat/mxf.c
parente395e2865c6b185f7bcc2a4bbf90e0304984cafe (diff)
fix d-10 mapping detection
Originally committed as revision 6631 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r--libavformat/mxf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index 5277028f17..ca30c5e45e 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -910,7 +910,7 @@ 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;
- if (descriptor->essence_container_ul[14] == 0x01) /* D-10 Mapping */
+ if (descriptor->essence_container_ul[13] == 0x01) /* D-10 Mapping */
st->codec->channels = 8; /* force channels to 8 */
} else if (st->codec->codec_id == CODEC_ID_MP2) {
st->need_parsing = 1;