Make reset_ptr() void.

Originally committed as revision 29229 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Carl Eugen Hoyos 2009-04-23 22:19:53 +00:00
parent 896873b564
commit 8e86dd1241

View File

@ -2911,7 +2911,7 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d
return c; return c;
} }
static int reset_ptr(uint8_t* src[], int format){ static void reset_ptr(uint8_t* src[], int format){
if(!isALPHA(format)) if(!isALPHA(format))
src[3]=NULL; src[3]=NULL;
if(!isPlanarYUV(format)){ if(!isPlanarYUV(format)){