[MPlayer-cvslog] r20147 - trunk/libmpdemux/demux_ty.c
reimar
subversion at mplayerhq.hu
Tue Oct 10 21:21:34 CEST 2006
Author: reimar
Date: Tue Oct 10 21:21:33 2006
New Revision: 20147
Modified:
trunk/libmpdemux/demux_ty.c
Log:
Fix misdetection of http://samples.mplayerhq.hu/tta/tivo_misdetect.tta as TiVo file
Modified: trunk/libmpdemux/demux_ty.c
==============================================================================
--- trunk/libmpdemux/demux_ty.c (original)
+++ trunk/libmpdemux/demux_ty.c Tue Oct 10 21:21:33 2006
@@ -1211,11 +1211,11 @@
recPtr += 16;
}
- if ( errorHeader > 0 )
+ if ( errorHeader > 0 || invalidType > 0 )
{
mp_msg( MSGT_DEMUX, MSGL_DBG3,
- "ty:Error Check - Records %d, Parsed %d, Errors %d\n",
- numberRecs, recordsDecoded, errorHeader );
+ "ty:Error Check - Records %d, Parsed %d, Errors %d + %d\n",
+ numberRecs, recordsDecoded, errorHeader, invalidType );
// Invalid MPEG ES Size Check
if ( errorHeader > ( numberRecs / 2 ) )
More information about the MPlayer-cvslog
mailing list