Revision d6f41eed libavcodec/snow.c

View differences:

libavcodec/snow.c
2294 2294

  
2295 2295
    if(level!=s->block_max_depth){
2296 2296
        if(same_block(b,b+1) && same_block(b,b+w) && same_block(b,b+w+1)){
2297
            put_rac(&s->c, &s->block_state[4 + s_context], 1);
2298
        }else{
2297 2299
            put_rac(&s->c, &s->block_state[4 + s_context], 0);
2298 2300
            encode_q_branch2(s, level+1, 2*x+0, 2*y+0);
2299 2301
            encode_q_branch2(s, level+1, 2*x+1, 2*y+0);
2300 2302
            encode_q_branch2(s, level+1, 2*x+0, 2*y+1);
2301 2303
            encode_q_branch2(s, level+1, 2*x+1, 2*y+1);
2302 2304
            return;
2303
        }else{
2304
            put_rac(&s->c, &s->block_state[4 + s_context], 1);
2305 2305
        }
2306 2306
    }
2307 2307
    if(b->type & BLOCK_INTRA){

Also available in: Unified diff