Mercurial > mplayer.hg
changeset 30732:355873f64ce7
Remove unused static function mp_mp3_get_lsf().
author | cehoyos |
---|---|
date | Sat, 27 Feb 2010 21:29:06 +0000 |
parents | 5a1ab9923c3a |
children | 19a6d39d5fdd |
files | libmpdemux/mp3_hdr.c |
diffstat | 1 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/mp3_hdr.c Sat Feb 27 21:02:44 2010 +0000 +++ b/libmpdemux/mp3_hdr.c Sat Feb 27 21:29:06 2010 +0000 @@ -38,18 +38,6 @@ 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) */