diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-11-30 11:54:20 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-11-30 11:54:20 +0000 |
| commit | 89a6fe7ae49b88c11f2619cf0c9238397980c70a (patch) | |
| tree | 3428fda51d7a700440187e0aa062c6beb973ee7b /apps/codecs | |
| parent | b153133682fe33cdd38c15cb500709a341288a68 (diff) | |
| download | rockbox-89a6fe7ae49b88c11f2619cf0c9238397980c70a.zip rockbox-89a6fe7ae49b88c11f2619cf0c9238397980c70a.tar.gz rockbox-89a6fe7ae49b88c11f2619cf0c9238397980c70a.tar.bz2 rockbox-89a6fe7ae49b88c11f2619cf0c9238397980c70a.tar.xz | |
Remove extraneous semicolons, and fix a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19268 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/demac/libdemac/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/demac/libdemac/filter.c b/apps/codecs/demac/libdemac/filter.c index 4a3eb74..df17d35 100644 --- a/apps/codecs/demac/libdemac/filter.c +++ b/apps/codecs/demac/libdemac/filter.c @@ -95,12 +95,12 @@ struct filter_t { /* Convert from (32-FRACBITS).FRACBITS fixed-point format to an integer (rounding to nearest). */ #define FP_HALF (1 << (FRACBITS - 1)) /* 0.5 in fixed-point format. */ -#define FP_TO_INT(x) ((x + FP_HALF) >> FRACBITS); /* round(x) */ +#define FP_TO_INT(x) ((x + FP_HALF) >> FRACBITS) /* round(x) */ #if defined(CPU_ARM) && (ARM_ARCH >= 6) #define SATURATE(x) ({int __res; asm("ssat %0, #16, %1" : "=r"(__res) : "r"(x)); __res; }) #else -#define SATURATE(x) (LIKELY((x) == (int16_t)(x)) ? (x) : ((x) >> 31) ^ 0x7FFF); +#define SATURATE(x) (LIKELY((x) == (int16_t)(x)) ? (x) : ((x) >> 31) ^ 0x7FFF) #endif /* Apply the filter with state f to count entries in data[] */ |