From 8943802849c9444342cd09ee0b8c4bf246a6d730 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 31 Jan 2008 00:57:48 +0000 Subject: [PATCH] add parenthesis, fix warning: snow.c:2413: warning: suggest parentheses around && within || Originally committed as revision 11687 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/snow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 67edc340d50..4f8a8d039c7 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -2410,7 +2410,7 @@ static void pred_block(SnowContext *s, uint8_t *dst, uint8_t *tmp, int stride, i // 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){ -- 2.39.5