mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-08 11:26:59 +02:00
* ./modules/codec/dts.c: Steve Jobs did not pay me for this bug. Really.
This commit is contained in:
parent
f545a915b3
commit
f2dd0b846b
@ -2,7 +2,7 @@
|
||||
* dts.c: DTS basic parser
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2003 VideoLAN
|
||||
* $Id: dts.c,v 1.2 2003/03/10 08:23:45 jlj Exp $
|
||||
* $Id: dts.c,v 1.3 2003/03/18 00:25:27 jlj Exp $
|
||||
*
|
||||
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
|
||||
*
|
||||
@ -322,7 +322,8 @@ static int SyncInfo( const byte_t * p_buf, unsigned int * pi_channels,
|
||||
2048000, 3072000, 3840000, 4096000, 0, 0
|
||||
};
|
||||
|
||||
if( ((uint32_t*)p_buf)[0] != 0x7ffe8001 )
|
||||
if( (p_buf[0] != 0x7f) || (p_buf[1] != 0xfe) ||
|
||||
(p_buf[2] != 0x80) || (p_buf[3] != 0x01) )
|
||||
{
|
||||
return( 0 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user