winemp3.acm: Remove unused functions
Andrew Talbot
Andrew.Talbot at talbotville.com
Mon Feb 5 15:22:42 CST 2007
Changelog:
winemp3.acm: Remove unused functions.
diff -urN a/dlls/winemp3.acm/mpegl3.c b/dlls/winemp3.acm/mpegl3.c
--- a/dlls/winemp3.acm/mpegl3.c 2006-10-07 17:37:01.000000000 +0100
+++ b/dlls/winemp3.acm/mpegl3.c 2007-02-05 21:04:53.000000000 +0000
@@ -121,27 +121,6 @@
return 0xFFFFFFFF;
}
-/***********************************************************************
- * R16
- *
- * Read a 16 bit sample (correctly handles endianess)
- */
-static inline short R16(const unsigned char* src)
-{
- return (short)((unsigned short)src[0] | ((unsigned short)src[1] << 8));
-}
-
-/***********************************************************************
- * W16
- *
- * Write a 16 bit sample (correctly handles endianess)
- */
-static inline void W16(unsigned char* dst, short s)
-{
- dst[0] = LOBYTE(s);
- dst[1] = HIBYTE(s);
-}
-
static DWORD get_num_buffered_bytes(struct mpstr *mp)
{
DWORD numBuff = 0;
@@ -461,17 +440,6 @@
}
/***********************************************************************
- * MPEG3_round
- *
- */
-static inline DWORD MPEG3_round(DWORD a, DWORD b, DWORD c)
-{
- assert(a && b && c);
- /* to be sure, always return an entire number of c... */
- return ((double)a * (double)b + (double)c - 1) / (double)c;
-}
-
-/***********************************************************************
* MPEG3_StreamSize
*
*/
More information about the wine-patches
mailing list