diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-01 03:36:23 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-01 03:36:23 +0000 |
commit | b8b015f483665e7adadca6cad9adafa7af890af4 (patch) | |
tree | 4c50846d348af161274da89039fbe33af6a8ac9b /libswscale | |
parent | 74498eb44b87120cdcd48ba23728b818def5faee (diff) | |
download | ffmpeg-b8b015f483665e7adadca6cad9adafa7af890af4.tar.gz |
cast to correct type, suppress warnings
Originally committed as revision 26949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 01b175c354..139bc55e5f 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1849,7 +1849,7 @@ static int gray16swap(SwsContext *c, uint8_t* src[], int srcStride[], int srcSli int height= srcSliceH; int i, j; uint16_t *srcPtr= (uint16_t*)src[0]; - uint16_t *dstPtr= dst[0] + dstStride[0]*y/2; + uint16_t *dstPtr= (uint16_t*)(dst[0] + dstStride[0]*y/2); for (i=0; i<height; i++) { for (j=0; j<length; j++) dstPtr[j] = bswap_16(srcPtr[j]); |