mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 12:11:52 +00:00
Fix misdetection of http://samples.mplayerhq.hu/tta/tivo_misdetect.tta as TiVo file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20147 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6a4cc21801
commit
030b28b3ee
@ -1211,11 +1211,11 @@ static int demux_ty_fill_buffer( demuxer_t *demux, demux_stream_t *dsds )
|
||||
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 ) )
|
||||
|
Loading…
Reference in New Issue
Block a user