silence gcc warning:

pullup.c:681: warning: suggest parentheses around + or - inside shift
pullup.c:682: warning: suggest parentheses around + or - inside shift
approved by Rich


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15112 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rathann 2005-04-10 20:01:54 +00:00
parent 1e9d1538b9
commit d6f4e11f1c
1 changed files with 2 additions and 2 deletions

View File

@ -678,8 +678,8 @@ void pullup_init_context(struct pullup_context *c)
if (c->nbuffers < 10) c->nbuffers = 10;
c->buffers = calloc(c->nbuffers, sizeof (struct pullup_buffer));
c->metric_w = (c->w[mp] - (c->junk_left + c->junk_right << 3)) >> 3;
c->metric_h = (c->h[mp] - (c->junk_top + c->junk_bottom << 1)) >> 3;
c->metric_w = (c->w[mp] - ((c->junk_left + c->junk_right) << 3)) >> 3;
c->metric_h = (c->h[mp] - ((c->junk_top + c->junk_bottom) << 1)) >> 3;
c->metric_offset = c->junk_left*c->bpp[mp] + (c->junk_top<<1)*c->stride[mp];
c->metric_len = c->metric_w * c->metric_h;