Commit f2dd0b84 authored by Jon Lech Johansen's avatar Jon Lech Johansen

* ./modules/codec/dts.c: Steve Jobs did not pay me for this bug. Really.

parent f545a915
......@@ -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 );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment