Commit 0195ab5f authored by Christophe Gisquet's avatar Christophe Gisquet Committed by Ronald S. Bultje

rv40: change a logical test into a bitwise one.

Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 88027999
...@@ -313,7 +313,7 @@ static inline int rv34_decode_block(DCTELEM *dst, GetBitContext *gb, RV34VLC *rv ...@@ -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); code = get_vlc2(gb, rvlc->third_pattern[sc].table, 9, 2);
decode_subblock(dst + 4*2+2, code, 0, gb, &rvlc->coefficient, q_ac2); decode_subblock(dst + 4*2+2, code, 0, gb, &rvlc->coefficient, q_ac2);
} }
return has_ac || pattern; return has_ac | pattern;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment