# HG changeset patch # User bcoudurier # Date 1160490543 0 # Node ID 00cdaa81086aa0aa889d7981559b4115d166d908 # Parent b7545c0c613a75fc5419d476b6dbfe5be739de0e fix d-10 mapping detection diff -r b7545c0c613a -r 00cdaa81086a mxf.c --- 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;