rv40: change a logical test into a bitwise one.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
pull/30/merge
Christophe Gisquet 13 years ago committed by Ronald S. Bultje
parent 8802799991
commit 0195ab5f5f
  1. 2
      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;
}
/**

Loading…
Cancel
Save