]> git.sesse.net Git - vlc/commit
Fix demuxdump to work with RTP input, which would dump garbage when RTP
authorMarian Ďurkovič <md@bts.sk>
Fri, 4 Sep 2009 09:36:47 +0000 (11:36 +0200)
committerJP Dinger <jpd@videolan.org>
Fri, 4 Sep 2009 10:10:00 +0000 (12:10 +0200)
commit8f9391f621f409375238c9967f3e264ebba38637
treee5ec3b5aa23e5a487fa5929bbf8502020b59e7ad
parentacac88798ee6fd5ec0ea59bdaef0a4989f6409cd
Fix demuxdump to work with RTP input, which would dump garbage when RTP
input is used. When stream_Read was used alone, it read 1316 bytes from
the RTP input add added garbage upto DUMP_BLOCKSIZE. With stream_Peek it
works as expected and also makes the whole demuxdump faster.

Signed-off-by: JP Dinger <jpd@videolan.org>
modules/demux/demuxdump.c