diff options
Diffstat (limited to 'libmpdemux/mp3_hdr.h')
-rw-r--r-- | libmpdemux/mp3_hdr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/mp3_hdr.h b/libmpdemux/mp3_hdr.h index ebd3fe9e80..dfe3122d67 100644 --- a/libmpdemux/mp3_hdr.h +++ b/libmpdemux/mp3_hdr.h @@ -26,7 +26,7 @@ int mp_get_mp3_header(unsigned char* hbuf,int* chans, int* freq, int* spf, int* #define mp_decode_mp3_header(hbuf) mp_get_mp3_header(hbuf,NULL,NULL,NULL,NULL,NULL) static inline int mp_check_mp3_header(unsigned int head){ - if( (head & 0x0000e0ff) != 0x0000e0ff || + if( (head & 0x0000e0ff) != 0x0000e0ff || (head & 0x00fc0000) == 0x00fc0000) return 0; if(mp_decode_mp3_header((unsigned char*)(&head))<=0) return 0; return 1; |