OSDN Git Service

Remove unused FRAC_RND() macro from mpegaudiodec.c.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 11 May 2010 14:49:48 +0000 (14:49 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 11 May 2010 14:49:48 +0000 (14:49 +0000)
Originally committed as revision 23086 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegaudiodec.c

index 40383a8..0655d41 100644 (file)
@@ -41,7 +41,6 @@
 
 /* WARNING: only correct for posititive numbers */
 #define FIXR(a)   ((int)((a) * FRAC_ONE + 0.5))
-#define FRAC_RND(a) (((a) + (FRAC_ONE/2)) >> FRAC_BITS)
 
 #define FIXHR(a) ((int)((a) * (1LL<<32) + 0.5))