changeset 22759:e6135bdf4f8a

Fix filepos calculation
author cehoyos
date Thu, 22 Mar 2007 10:14:32 +0000
parents 4bd9ae216640
children 222882252563
files libmpdemux/demux_rtp.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rtp.cpp	Thu Mar 22 10:10:37 2007 +0000
+++ b/libmpdemux/demux_rtp.cpp	Thu Mar 22 10:14:32 2007 +0000
@@ -412,7 +412,7 @@
   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;