aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-12-29 02:17:51 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-12-29 02:17:51 +0000
commitd6f41eeddc4862fd92aecd9cb853c3cf6724f676 (patch)
treeaac7ba0a942e26265ccad3aae6b65ac8e19a1fea /libavcodec/snow.c
parent735f9f34fe1b0e9de93d0c8129eed7818009b763 (diff)
downloadffmpeg-d6f41eeddc4862fd92aecd9cb853c3cf6724f676.tar.gz
4mv + iter ME 10l fix (still not bugfree but better)
Originally committed as revision 4783 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r--libavcodec/snow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 559955ebfc..f6c1f86876 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -2294,14 +2294,14 @@ static void encode_q_branch2(SnowContext *s, int level, int x, int y){
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){