1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

rv40: change a logical test into a bitwise one.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
Christophe Gisquet 2012-04-17 18:44:50 +00:00 committed by Ronald S. Bultje
parent 8802799991
commit 0195ab5f5f

View File

@ -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;
} }
/** /**