]> git.sesse.net Git - ffmpeg/commit
rv30: fix masking in rv30_loop_filter()
authorXi Wang <xi.wang@gmail.com>
Thu, 17 Jan 2013 06:24:15 +0000 (01:24 -0500)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 17 Jan 2013 20:55:27 +0000 (21:55 +0100)
commit783e37f7ef3b3cdcfe7aa927a25b4184ae46cd53
tree66e590568c4df8f831540cc3f02686a51d2ac109
parent80ac87c13dc8c6c063e26a464c5c542357c0583f
rv30: fix masking in rv30_loop_filter()

The mask `x && (1 << y)' is incorrect and always yields true.

The correct form should be `x & (1 << y)'.

CC: libav-stable@libav.org
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/rv30.c