[MPlayer-cvslog] r22253 - trunk/libmpdemux/demux_rtp_codec.cpp

nicodvb subversion at mplayerhq.hu
Sat Feb 17 22:45:16 CET 2007


Author: nicodvb
Date: Sat Feb 17 22:45:16 2007
New Revision: 22253

Modified:
   trunk/libmpdemux/demux_rtp_codec.cpp

Log:
omit length field of AAC-LATM audio streams; fixes decoding by faad. Patch by Carl Eugen Hoyos (cehoyos ag or at)

Modified: trunk/libmpdemux/demux_rtp_codec.cpp
==============================================================================
--- trunk/libmpdemux/demux_rtp_codec.cpp	(original)
+++ trunk/libmpdemux/demux_rtp_codec.cpp	Sat Feb 17 22:45:16 2007
@@ -193,6 +193,8 @@
       = parseStreamMuxConfigStr(subsession->fmtp_config(),
 				codecdata_len);
     sh_audio->codecdata_len = codecdata_len;
+    //faad doesn't understand LATM's data length field, so omit it
+    ((MPEG4LATMAudioRTPSource*)subsession->rtpSource())->omitLATMDataLengthField();
   } else if (strcmp(subsession->codecName(), "MPEG4-GENERIC") == 0) {
     wf->wFormatTag = sh_audio->format = mmioFOURCC('m','p','4','a');
     // For the codec to work correctly, it needs "AudioSpecificConfig"



More information about the MPlayer-cvslog mailing list