[MPlayer-cvslog] r22777 - trunk/libmpdemux/demux_rtp.cpp

cehoyos subversion at mplayerhq.hu
Thu Mar 22 11:14:32 CET 2007


Author: cehoyos
Date: Thu Mar 22 11:14:32 2007
New Revision: 22777

Modified:
   trunk/libmpdemux/demux_rtp.cpp

Log:
Fix filepos calculation

Modified: trunk/libmpdemux/demux_rtp.cpp
==============================================================================
--- trunk/libmpdemux/demux_rtp.cpp	(original)
+++ trunk/libmpdemux/demux_rtp.cpp	Thu Mar 22 11:14:32 2007
@@ -412,7 +412,7 @@ static void afterReading(void* clientDat
   bufferQueue->prevPacketWasSynchronized = hasBeenSynchronized;
 
   dp->pos = demuxer->filepos;
-  demuxer->filepos += frameSize;
+  demuxer->filepos += frameSize + headersize;
 
   // Signal any pending 'doEventLoop()' call on this queue:
   bufferQueue->blockingFlag = ~0;



More information about the MPlayer-cvslog mailing list