summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index fcd809e828..19d93ddacf 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -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)){