diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-22 05:17:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-22 05:17:23 +0200 |
commit | 954a38e9bf65aa765f55360f4a9a7c8ec626d037 (patch) | |
tree | 91b9482d4467f1886d36e6de8e1deae66bc2ebbb | |
parent | fd3c27375f96c94f093357a8d83fed99fc43acbc (diff) | |
download | ffmpeg-954a38e9bf65aa765f55360f4a9a7c8ec626d037.tar.gz |
avfilter/vf_hqx: remove << 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_hqx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_hqx.c b/libavfilter/vf_hqx.c index a2a31e4d7c..ef5a0fae80 100644 --- a/libavfilter/vf_hqx.c +++ b/libavfilter/vf_hqx.c @@ -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 |