From 0195ab5f5ff216a8797623e62e2703f3df2624c2 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Tue, 17 Apr 2012 18:44:50 +0000 Subject: [PATCH] rv40: change a logical test into a bitwise one. Signed-off-by: Ronald S. Bultje --- libavcodec/rv34.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c index 4c546c22f0..a3d3fcd3ea 100644 --- a/libavcodec/rv34.c +++ b/libavcodec/rv34.c @@ -313,7 +313,7 @@ static inline int rv34_decode_block(DCTELEM *dst, GetBitContext *gb, RV34VLC *rv code = get_vlc2(gb, rvlc->third_pattern[sc].table, 9, 2); decode_subblock(dst + 4*2+2, code, 0, gb, &rvlc->coefficient, q_ac2); } - return has_ac || pattern; + return has_ac | pattern; } /**