[MPlayer-cvslog] r30774 - trunk/libmpdemux/mp3_hdr.c

cehoyos subversion at mplayerhq.hu
Sat Feb 27 22:29:06 CET 2010


Author: cehoyos
Date: Sat Feb 27 22:29:06 2010
New Revision: 30774

Log:
Remove unused static function mp_mp3_get_lsf().

Modified:
   trunk/libmpdemux/mp3_hdr.c

Modified: trunk/libmpdemux/mp3_hdr.c
==============================================================================
--- trunk/libmpdemux/mp3_hdr.c	Sat Feb 27 22:02:44 2010	(r30773)
+++ trunk/libmpdemux/mp3_hdr.c	Sat Feb 27 22:29:06 2010	(r30774)
@@ -38,18 +38,6 @@ static long freqs[9] = { 44100, 48000, 3
 			 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)
  */


More information about the MPlayer-cvslog mailing list