mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
fixed wrong binary mask: it precluded the syncword of adts-4 from being recognized as valid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15709 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
638b833133
commit
cd627876a7
@ -53,7 +53,7 @@ static int aac_probe(unsigned char *buffer, int len)
|
||||
mp_msg(MSGT_DECAUDIO,MSGL_V, "\nAAC_PROBE: %d bytes\n", len);
|
||||
while(i <= len-4) {
|
||||
if(
|
||||
((buffer[i] == 0xff) && ((buffer[i+1] & 0xfe) == 0xf8)) ||
|
||||
((buffer[i] == 0xff) && ((buffer[i+1] & 0xf6) == 0xf0)) ||
|
||||
(buffer[i] == 'A' && buffer[i+1] == 'D' && buffer[i+2] == 'I' && buffer[i+3] == 'F')
|
||||
) {
|
||||
pos = i;
|
||||
|
Loading…
Reference in New Issue
Block a user