Mercurial > mplayer.hg
changeset 26916:03e1725b5842
cast to correct type, suppress warnings
author | bcoudurier |
---|---|
date | Sun, 01 Jun 2008 03:35:27 +0000 |
parents | 0348d37f5933 |
children | 4c8ad45769c7 |
files | libswscale/swscale.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale.c Sun Jun 01 03:34:39 2008 +0000 +++ b/libswscale/swscale.c Sun Jun 01 03:35:27 2008 +0000 @@ -2542,7 +2542,7 @@ 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