Mercurial > libavcodec.hg
changeset 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 | 7346bcbb3d53 |
files | snow.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/snow.c Thu Jan 31 00:56:29 2008 +0000 +++ b/snow.c Thu Jan 31 00:57:48 2008 +0000 @@ -2410,7 +2410,7 @@ // assert(b_w == b_h || 2*b_w == b_h || b_w == 2*b_h); // assert(!(b_w&(b_w-1))); assert(b_w>1 && b_h>1); - assert(tab_index>=0 && tab_index<4 || b_w==32); + assert((tab_index>=0 && tab_index<4) || b_w==32); 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 ) mc_block(&s->plane[plane_index], dst, src, tmp, stride, b_w, b_h, dx, dy); else if(b_w==32){