Commit 9a60b1fa authored by Himangi Saraogi's avatar Himangi Saraogi Committed by Luca Barbato

libswscale: fix compiler warnings enumerated type mixed with another type

Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 66028b7b
...@@ -1168,7 +1168,7 @@ void ff_get_unscaled_swscale(SwsContext *c) ...@@ -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;
......
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