Browse Source

add const, suppress warnings

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

+ 1
- 1
libswscale/swscale.c View File

@@ -1848,7 +1848,7 @@ static int gray16swap(SwsContext *c, uint8_t* src[], int srcStride[], int srcSli
int y= srcSliceY;
int height= srcSliceH;
int i, j;
uint16_t *srcPtr= src[0];
uint16_t *srcPtr= (uint16_t*)src[0];
uint16_t *dstPtr= dst[0] + dstStride[0]*y/2;
for (i=0; i<height; i++)
{


Loading…
Cancel
Save