Commit 8e86dd12 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Make reset_ptr() void.

Originally committed as revision 29229 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 896873b5
...@@ -2911,7 +2911,7 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d ...@@ -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)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment