[MPlayer-cvslog] r22869 - trunk/libmpdemux/demux_rtp.cpp
cehoyos
subversion at mplayerhq.hu
Sun Apr 1 05:00:47 CEST 2007
Author: cehoyos
Date: Sun Apr 1 05:00:47 2007
New Revision: 22869
Modified:
trunk/libmpdemux/demux_rtp.cpp
Log:
Cosmetics: Move variable declaration and initialization up.
Modified: trunk/libmpdemux/demux_rtp.cpp
==============================================================================
--- trunk/libmpdemux/demux_rtp.cpp (original)
+++ trunk/libmpdemux/demux_rtp.cpp Sun Apr 1 05:00:47 2007
@@ -373,10 +373,11 @@ static void afterReading(void* clientDat
if (frameSize > 0) demuxer->stream->eof = 0;
+ demux_packet_t* dp = bufferQueue->dp;
+
if (bufferQueue->readSource()->isAMRAudioSource())
headersize = 1;
- demux_packet_t* dp = bufferQueue->dp;
resize_demux_packet(dp, frameSize + headersize);
// Set the packet's presentation time stamp, depending on whether or
More information about the MPlayer-cvslog
mailing list