Commit b5fe1344 authored by Tim Walker's avatar Tim Walker

vc1: Use logical instead of bitwise or for coded_inter

This appears to be the intended behavior.
parent b97f6ef9
...@@ -3676,7 +3676,7 @@ static int vc1_decode_p_mb(VC1Context *v) ...@@ -3676,7 +3676,7 @@ static int vc1_decode_p_mb(VC1Context *v)
vc1_mc_4mv_chroma(v, 0); vc1_mc_4mv_chroma(v, 0);
v->mb_type[0][s->block_index[i]] = is_intra[i]; v->mb_type[0][s->block_index[i]] = is_intra[i];
if (!coded_inter) if (!coded_inter)
coded_inter = !is_intra[i] & is_coded[i]; coded_inter = !is_intra[i] && is_coded[i];
} }
// if there are no coded blocks then don't do anything more // if there are no coded blocks then don't do anything more
dst_idx = 0; dst_idx = 0;
......
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