[MPlayer-dev-eng] [PATCH] Fix MP4A-LATM over rtsp

Nico Sabbi nicola_sabbi at fastwebnet.it
Sat Feb 17 22:48:54 CET 2007


Carl Eugen Hoyos wrote:

> 
> Index: libmpdemux/demux_rtp_codec.cpp
> ===================================================================
> --- libmpdemux/demux_rtp_codec.cpp	(Revision 22229)
> +++ libmpdemux/demux_rtp_codec.cpp	(Arbeitskopie)
> @@ -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"
> 

committed

-- 
"Without a frontend, mplayer is useless" - someone in mplayer-users



More information about the MPlayer-dev-eng mailing list