Browse Source

cast to correct type, suppress warnings

Originally committed as revision 26948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
74498eb44b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libswscale/swscale.c

+ 1
- 1
libswscale/swscale.c View File

@@ -2542,7 +2542,7 @@ int sws_scale(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
int v= av_clip_uint8(((RV*r + GV*g + BV*b)>>RGB2YUV_SHIFT) + 128);
pal[i]= y + (u<<8) + (v<<16);
}
src2[1]= pal;
src2[1]= (uint8_t*)pal;
}

// copy strides, so they can safely be modified


Loading…
Cancel
Save