# HG changeset patch # User michael # Date 1135822671 0 # Node ID dfc271b90fe62c17536ec95ddd797f77df326d7a # Parent 657e8546090d7193829927abb3d32cf82b8195f8 4mv + iter ME 10l fix (still not bugfree but better) diff -r 657e8546090d -r dfc271b90fe6 snow.c --- a/snow.c Wed Dec 28 23:45:16 2005 +0000 +++ b/snow.c Thu Dec 29 02:17:51 2005 +0000 @@ -2294,14 +2294,14 @@ if(level!=s->block_max_depth){ if(same_block(b,b+1) && same_block(b,b+w) && same_block(b,b+w+1)){ + put_rac(&s->c, &s->block_state[4 + s_context], 1); + }else{ put_rac(&s->c, &s->block_state[4 + s_context], 0); encode_q_branch2(s, level+1, 2*x+0, 2*y+0); encode_q_branch2(s, level+1, 2*x+1, 2*y+0); encode_q_branch2(s, level+1, 2*x+0, 2*y+1); encode_q_branch2(s, level+1, 2*x+1, 2*y+1); return; - }else{ - put_rac(&s->c, &s->block_state[4 + s_context], 1); } } if(b->type & BLOCK_INTRA){