Mercurial > mplayer.hg
changeset 22353:7bfda6330833
1000l, removed code that messed with the internals of demux_packet_t (but there's still more); patch by C.E.Hoyos fixed by me
author | nicodvb |
---|---|
date | Tue, 27 Feb 2007 21:16:54 +0000 |
parents | 3c9d0592f08a |
children | b465e5be1a53 |
files | libmpdemux/demux_rtp.cpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_rtp.cpp Tue Feb 27 20:22:05 2007 +0000 +++ b/libmpdemux/demux_rtp.cpp Tue Feb 27 21:16:54 2007 +0000 @@ -348,7 +348,6 @@ // Copy our data into the buffer, and save it: memmove(dp->buffer, data, dataLen); - dp->len = dataLen; dp->pts = 0; bufferQueue->savePendingBuffer(dp); return True; @@ -402,7 +401,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: