changeset 1364:00cdaa81086a libavformat

fix d-10 mapping detection
author bcoudurier
date Tue, 10 Oct 2006 14:29:03 +0000
parents b7545c0c613a
children 54d50e11dc57
files mxf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Tue Oct 10 13:00:50 2006 +0000
+++ b/mxf.c	Tue Oct 10 14:29:03 2006 +0000
@@ -910,7 +910,7 @@
                     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;