Mercurial > libavcodec.hg
comparison snow.c @ 6206:ea591bc7522a libavcodec
add parenthesis, fix warning: snow.c:2413: warning: suggest parentheses around && within ||
author | bcoudurier |
---|---|
date | Thu, 31 Jan 2008 00:57:48 +0000 |
parents | b329d2bf8ff5 |
children | 80148ad7bb3c |
comparison
equal
deleted
inserted
replaced
6205:b329d2bf8ff5 | 6206:ea591bc7522a |
---|---|
2408 src= tmp + MB_SIZE; | 2408 src= tmp + MB_SIZE; |
2409 } | 2409 } |
2410 // assert(b_w == b_h || 2*b_w == b_h || b_w == 2*b_h); | 2410 // assert(b_w == b_h || 2*b_w == b_h || b_w == 2*b_h); |
2411 // assert(!(b_w&(b_w-1))); | 2411 // assert(!(b_w&(b_w-1))); |
2412 assert(b_w>1 && b_h>1); | 2412 assert(b_w>1 && b_h>1); |
2413 assert(tab_index>=0 && tab_index<4 || b_w==32); | 2413 assert((tab_index>=0 && tab_index<4) || b_w==32); |
2414 if((dx&3) || (dy&3) || !(b_w == b_h || 2*b_w == b_h || b_w == 2*b_h) || (b_w&(b_w-1)) || !s->plane[plane_index].fast_mc ) | 2414 if((dx&3) || (dy&3) || !(b_w == b_h || 2*b_w == b_h || b_w == 2*b_h) || (b_w&(b_w-1)) || !s->plane[plane_index].fast_mc ) |
2415 mc_block(&s->plane[plane_index], dst, src, tmp, stride, b_w, b_h, dx, dy); | 2415 mc_block(&s->plane[plane_index], dst, src, tmp, stride, b_w, b_h, dx, dy); |
2416 else if(b_w==32){ | 2416 else if(b_w==32){ |
2417 int y; | 2417 int y; |
2418 for(y=0; y<b_h; y+=16){ | 2418 for(y=0; y<b_h; y+=16){ |