1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

libswscale: fix compiler warnings enumerated type mixed with another type

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
Himangi Saraogi
2015-03-14 21:22:25 +05:30
committed by Luca Barbato
parent 66028b7ba6
commit 9a60b1fad0

View File

@@ -1168,7 +1168,7 @@ void ff_get_unscaled_swscale(SwsContext *c)
ff_get_unscaled_swscale_ppc(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)) if (!isALPHA(format))
src[3] = NULL; src[3] = NULL;