summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-01-10 12:11:41 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-20 05:03:22 -0700
commit2972087e398454122a82a970ed07924185175c6d (patch)
tree18823742a8a1e3efb86643aa4b5f8a77d3a8c1a8 /libavcodec
parente8eace32765da4b42ac3c575fdb2c70cce8aa224 (diff)
downloadffmpeg-streaming-2972087e398454122a82a970ed07924185175c6d.zip
ffmpeg-streaming-2972087e398454122a82a970ed07924185175c6d.tar.gz
hpel_template: Drop some unnecessary parentheses
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/hpel_template.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/hpel_template.c b/libavcodec/hpel_template.c
index 8f99950..0d90445 100644
--- a/libavcodec/hpel_template.c
+++ b/libavcodec/hpel_template.c
@@ -27,7 +27,7 @@ static inline void FUNCC(OPNAME ## _pixels2)(uint8_t *block, \
{ \
int i; \
for (i = 0; i < h; i++) { \
- OP(*((pixel2 *) (block)), AV_RN2P(pixels)); \
+ OP(*((pixel2 *) block), AV_RN2P(pixels)); \
pixels += line_size; \
block += line_size; \
} \
@@ -40,7 +40,7 @@ static inline void FUNCC(OPNAME ## _pixels4)(uint8_t *block, \
{ \
int i; \
for (i = 0; i < h; i++) { \
- OP(*((pixel4 *) (block)), AV_RN4P(pixels)); \
+ OP(*((pixel4 *) block), AV_RN4P(pixels)); \
pixels += line_size; \
block += line_size; \
} \
@@ -53,7 +53,7 @@ static inline void FUNCC(OPNAME ## _pixels8)(uint8_t *block, \
{ \
int i; \
for (i = 0; i < h; i++) { \
- OP(*((pixel4 *) (block)), AV_RN4P(pixels)); \
+ OP(*((pixel4 *) block), AV_RN4P(pixels)); \
OP(*((pixel4 *) (block + 4 * sizeof(pixel))), \
AV_RN4P(pixels + 4 * sizeof(pixel))); \
pixels += line_size; \
OpenPOWER on IntegriCloud