Browse Source

avfilter/vf_hqx: remove << 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
954a38e9bf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_hqx.c

+ 1
- 1
libavfilter/vf_hqx.c View File

@@ -410,7 +410,7 @@ static av_always_inline void hqx_filter(const ThreadData *td, int jobnr, int nb_
src32[prevcol + nextline], src32[nextline], src32[nextline + nextcol]
};
const uint32_t yuv1 = rgb2yuv(r2y, w[4]);
const int pattern = (w[4] != w[0] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[0]))) : 0) << 0
const int pattern = (w[4] != w[0] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[0]))) : 0)
| (w[4] != w[1] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[1]))) : 0) << 1
| (w[4] != w[2] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[2]))) : 0) << 2
| (w[4] != w[3] ? (yuv_diff(yuv1, rgb2yuv(r2y, w[3]))) : 0) << 3


Loading…
Cancel
Save