diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-20 23:50:00 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-20 23:50:04 +0400 |
commit | 8b66b43128eafc5f0abf0c81a5a523a2aedd5996 (patch) | |
tree | 3593567619ec81bcac76d226d5de78a6f96affa9 | |
parent | da760a64d1133c325a00348c7a1d06cf5084de27 (diff) | |
parent | 2972087e398454122a82a970ed07924185175c6d (diff) |
Merge commit '2972087e398454122a82a970ed07924185175c6d'
* commit '2972087e398454122a82a970ed07924185175c6d':
hpel_template: Drop some unnecessary parentheses
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/hpel_template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/hpel_template.c b/libavcodec/hpel_template.c index 9f60ac0121..594b3f613e 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; \ |