libswscale: fix compiler warnings enumerated type mixed with another type
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 14 Mar 2015 15:52:25 +0000 (21:22 +0530)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 15 Mar 2015 17:29:22 +0000 (18:29 +0100)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libswscale/swscale_unscaled.c

index bfcc1a3..699aa60 100644 (file)
@@ -1168,7 +1168,7 @@ void ff_get_unscaled_swscale(SwsContext *c)
         ff_get_unscaled_swscale_ppc(c);
 }
 
-static void reset_ptr(const uint8_t *src[], int format)
+static void reset_ptr(const uint8_t *src[], enum AVPixelFormat format)
 {
     if (!isALPHA(format))
         src[3] = NULL;