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: