aboutsummaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorHimangi Saraogi2015-03-14 21:22:25 +0530
committerLuca Barbato2015-03-15 18:29:22 +0100
commit9a60b1fad02cb783b895b2145c3dafc01f7b337c (patch)
treea7c117dbbf8b89b446aee6a4be516c2dfdcf1065 /libswscale
parent66028b7ba6b411ba12ef553e9c8f1f4a4fe27710 (diff)
libswscale: fix compiler warnings enumerated type mixed with another type
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale_unscaled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c
index bfcc1a3ca5..699aa60701 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -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;