diff options
author | nickols_k <nickols_k@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-07 09:08:32 +0000 |
---|---|---|
committer | nickols_k <nickols_k@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-07 09:08:32 +0000 |
commit | d346c4eff48611c37baf0ada5e1e960a1643b5fb (patch) | |
tree | 499d01a818407528f4ef5f2fb65f440a6180d79b /mp3lib/sr1.c | |
parent | a305741d2c30a6972e435b0466d626fd14ba58e5 (diff) | |
download | mpv-d346c4eff48611c37baf0ada5e1e960a1643b5fb.tar.bz2 mpv-d346c4eff48611c37baf0ada5e1e960a1643b5fb.tar.xz |
Minor improvements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1046 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/sr1.c')
-rw-r--r-- | mp3lib/sr1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c index 8e84ddfff5..b90bb16de1 100644 --- a/mp3lib/sr1.c +++ b/mp3lib/sr1.c @@ -27,6 +27,7 @@ #include "bswap.h" #include "d_cpu.h" +#include "fastmemcpy.h" //static FILE* mp3_file=NULL; int MP3_frames=0; @@ -177,7 +178,7 @@ LOCAL int decode_header(struct frame *fr,unsigned long newhead){ // head_check: if( (newhead & 0xffe00000) != 0xffe00000 || - (newhead & 0x0000f300) == 0x0000f300) return FALSE; + (newhead & 0x0000fc00) == 0x0000fc00) return FALSE; fr->lay = 4-((newhead>>17)&3); // if(fr->lay!=3) return FALSE; |