[MPlayer-dev-eng] [PATCH] Fix shit in demux_rtp.cpp

Nico Sabbi nicola_sabbi at fastwebnet.it
Tue Feb 27 22:22:10 CET 2007


Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes a problem explained by Nico:
> http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-February/049738.html
> 
> Please apply, Carl Eugen
> 
> 
> ------------------------------------------------------------------------
> 
> Index: libmpdemux/demux_rtp.cpp
> ===================================================================
> --- libmpdemux/demux_rtp.cpp	(Revision 22354)
> +++ libmpdemux/demux_rtp.cpp	(Arbeitskopie)
> @@ -402,7 +402,7 @@
>    if (frameSize > 0) demuxer->stream->eof = 0;
>  
>    demux_packet_t* dp = bufferQueue->dp;
> -  dp->len = frameSize;
> +  resize_demux_packet(dp, frameSize);  
>  
>    // Set the packet's presentation time stamp, depending on whether or
>    // not our RTP source's timestamps have been synchronized yet: 
> 

applied, with one more fix

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



More information about the MPlayer-dev-eng mailing list