Make reset_ptr() void.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 23 Apr 2009 22:19:53 +0000 (22:19 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 23 Apr 2009 22:19:53 +0000 (22:19 +0000)
Originally committed as revision 29229 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

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