aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/truemotion1.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-05-06 09:16:36 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-06 09:16:36 +0000
commitccd425e7993ef0e76da7bf10c566d33f7acc7c6d (patch)
tree29a2af2f8eb50c22d5b23cca7763d9d507273cab /libavcodec/truemotion1.c
parent91605c69fb79bc37e7b8ae756b42bbe1f3cf5423 (diff)
downloadffmpeg-ccd425e7993ef0e76da7bf10c566d33f7acc7c6d.tar.gz
Remove unnecessary parentheses from return calls.
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/truemotion1.c')
-rw-r--r--libavcodec/truemotion1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
index c2b8c1d16e..48625f8b1c 100644
--- a/libavcodec/truemotion1.c
+++ b/libavcodec/truemotion1.c
@@ -176,7 +176,7 @@ static int make_ydt15_entry(int p1, int p2, int16_t *ydt)
lo += (lo << 5) + (lo << 10);
hi = ydt[p2];
hi += (hi << 5) + (hi << 10);
- return ((lo + (hi << 16)) << 1);
+ return (lo + (hi << 16)) << 1;
}
#ifdef WORDS_BIGENDIAN
@@ -190,7 +190,7 @@ static int make_cdt15_entry(int p1, int p2, int16_t *cdt)
b = cdt[p2];
r = cdt[p1] << 10;
lo = b + r;
- return ((lo + (lo << 16)) << 1);
+ return (lo + (lo << 16)) << 1;
}
#ifdef WORDS_BIGENDIAN
@@ -205,7 +205,7 @@ static int make_ydt16_entry(int p1, int p2, int16_t *ydt)
lo += (lo << 6) + (lo << 11);
hi = ydt[p2];
hi += (hi << 6) + (hi << 11);
- return ((lo + (hi << 16)) << 1);
+ return (lo + (hi << 16)) << 1;
}
#ifdef WORDS_BIGENDIAN
@@ -219,7 +219,7 @@ static int make_cdt16_entry(int p1, int p2, int16_t *cdt)
b = cdt[p2];
r = cdt[p1] << 11;
lo = b + r;
- return ((lo + (lo << 16)) << 1);
+ return (lo + (lo << 16)) << 1;
}
#ifdef WORDS_BIGENDIAN
@@ -232,7 +232,7 @@ static int make_ydt24_entry(int p1, int p2, int16_t *ydt)
lo = ydt[p1];
hi = ydt[p2];
- return ((lo + (hi << 8) + (hi << 16)) << 1);
+ return (lo + (hi << 8) + (hi << 16)) << 1;
}
#ifdef WORDS_BIGENDIAN
@@ -245,7 +245,7 @@ static int make_cdt24_entry(int p1, int p2, int16_t *cdt)
b = cdt[p2];
r = cdt[p1]<<16;
- return ((b+r) << 1);
+ return (b+r) << 1;
}
static void gen_vector_table15(TrueMotion1Context *s, const uint8_t *sel_vector_table)