[MPlayer-cvslog] r24509 - trunk/libmpdemux/demux_ty.c
reimar
subversion at mplayerhq.hu
Fri Sep 14 23:17:49 CEST 2007
Author: reimar
Date: Fri Sep 14 23:17:48 2007
New Revision: 24509
Log:
live recordings can contain 0-size type 0 chunks, ignore them instead
of erroring out.
Modified:
trunk/libmpdemux/demux_ty.c
Modified: trunk/libmpdemux/demux_ty.c
==============================================================================
--- trunk/libmpdemux/demux_ty.c (original)
+++ trunk/libmpdemux/demux_ty.c Fri Sep 14 23:17:48 2007
@@ -790,7 +790,7 @@ static int demux_ty_fill_buffer( demuxer
{
if ( size > 0 && size + offset <= CHUNKSIZE )
offset += size;
- if (type != 3 && type != 5) {
+ if (type != 3 && type != 5 && (type != 0 || size > 0)) {
mp_msg( MSGT_DEMUX, MSGL_DBG3, "ty:Invalid Type %x\n", type );
invalidType++;
}
More information about the MPlayer-cvslog
mailing list