mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Silence the following GCC warning:
libswscale/swscale.c: In function ‘pal2rgbWrapper’: libswscale/swscale.c:1744: warning: passing argument 4 of ‘conv’ from incompatible pointer type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27834 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
26aa72abcb
commit
e2b8d3f60d
@ -1741,7 +1741,7 @@ static int pal2rgbWrapper(SwsContext *c, uint8_t* src[], int srcStride[], int sr
|
||||
|
||||
|
||||
for (i=0; i<srcSliceH; i++) {
|
||||
conv(srcPtr, dstPtr, c->srcW, c->pal_rgb);
|
||||
conv(srcPtr, dstPtr, c->srcW, (uint8_t *) c->pal_rgb);
|
||||
srcPtr+= srcStride[0];
|
||||
dstPtr+= dstStride[0];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user