comparison libmpdemux/demux_mov.c @ 14706:127c30674725

Mp3On4 demuxer support Patch by Larry Ruedisueli lwr at audioresearchlabs dot com
author rtognimp
date Tue, 15 Feb 2005 21:04:33 +0000
parents a9b1c0695a27
children db1f17e9b7a2
comparison
equal deleted inserted replaced
14705:7b029e07e39d 14706:127c30674725
971 if(esds.objectTypeId==MP4OTI_MPEG1Audio || esds.objectTypeId==MP4OTI_MPEG2AudioPart3) 971 if(esds.objectTypeId==MP4OTI_MPEG1Audio || esds.objectTypeId==MP4OTI_MPEG2AudioPart3)
972 sh->format=0x55; // .mp3 972 sh->format=0x55; // .mp3
973 973
974 // dump away the codec specific configuration for the AAC decoder 974 // dump away the codec specific configuration for the AAC decoder
975 if(esds.decoderConfigLen){ 975 if(esds.decoderConfigLen){
976 if( (esds.decoderConfig[0]>>3) == 29 )
977 sh->format = 0x1d61346d; // request multi-channel mp3 decoder
976 sh->codecdata_len = esds.decoderConfigLen; 978 sh->codecdata_len = esds.decoderConfigLen;
977 sh->codecdata = (unsigned char *)malloc(sh->codecdata_len); 979 sh->codecdata = (unsigned char *)malloc(sh->codecdata_len);
978 memcpy(sh->codecdata, esds.decoderConfig, sh->codecdata_len); 980 memcpy(sh->codecdata, esds.decoderConfig, sh->codecdata_len);
979 } 981 }
980 } 982 }