Mercurial > libavcodec.hg
comparison mpegaudiodec.c @ 11705:a66b535972b7 libavcodec
Remove unused FRAC_RND() macro from mpegaudiodec.c.
author | michael |
---|---|
date | Tue, 11 May 2010 14:49:48 +0000 |
parents | 7dd2a45249a9 |
children | eb9e142ea51f |
comparison
equal
deleted
inserted
replaced
11704:b57e32bcaa86 | 11705:a66b535972b7 |
---|---|
39 | 39 |
40 #include "mathops.h" | 40 #include "mathops.h" |
41 | 41 |
42 /* WARNING: only correct for posititive numbers */ | 42 /* WARNING: only correct for posititive numbers */ |
43 #define FIXR(a) ((int)((a) * FRAC_ONE + 0.5)) | 43 #define FIXR(a) ((int)((a) * FRAC_ONE + 0.5)) |
44 #define FRAC_RND(a) (((a) + (FRAC_ONE/2)) >> FRAC_BITS) | |
45 | 44 |
46 #define FIXHR(a) ((int)((a) * (1LL<<32) + 0.5)) | 45 #define FIXHR(a) ((int)((a) * (1LL<<32) + 0.5)) |
47 | 46 |
48 /****************/ | 47 /****************/ |
49 | 48 |