[Ffmpeg-cvslog] r6631 - trunk/libavformat/mxf.c

bcoudurier subversion
Tue Oct 10 16:29:04 CEST 2006


Author: bcoudurier
Date: Tue Oct 10 16:29:03 2006
New Revision: 6631

Modified:
   trunk/libavformat/mxf.c

Log:
fix d-10 mapping detection

Modified: trunk/libavformat/mxf.c
==============================================================================
--- trunk/libavformat/mxf.c	(original)
+++ trunk/libavformat/mxf.c	Tue Oct 10 16:29:03 2006
@@ -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;




More information about the ffmpeg-cvslog mailing list