mirror of
https://github.com/mpv-player/mpv
synced 2025-02-01 04:31:39 +00:00
Remove unused static function mp_mp3_get_lsf().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30774 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
827df51f1d
commit
c44915814c
@ -38,18 +38,6 @@ static long freqs[9] = { 44100, 48000, 32000, // MPEG 1.0
|
||||
22050, 24000, 16000, // MPEG 2.0
|
||||
11025, 12000, 8000}; // MPEG 2.5
|
||||
|
||||
static int mp_mp3_get_lsf(unsigned char* hbuf){
|
||||
unsigned long newhead =
|
||||
hbuf[0] << 24 |
|
||||
hbuf[1] << 16 |
|
||||
hbuf[2] << 8 |
|
||||
hbuf[3];
|
||||
if( newhead & ((long)1<<20) ) {
|
||||
return (newhead & ((long)1<<19)) ? 0x0 : 0x1;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* return frame size or -1 (bad frame)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user