summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2015-03-14 21:22:25 +0530
committerLuca Barbato <lu_zero@gentoo.org>2015-03-15 18:29:22 +0100
commit9a60b1fad02cb783b895b2145c3dafc01f7b337c (patch)
treea7c117dbbf8b89b446aee6a4be516c2dfdcf1065 /libswscale
parent66028b7ba6b411ba12ef553e9c8f1f4a4fe27710 (diff)
downloadffmpeg-streaming-9a60b1fad02cb783b895b2145c3dafc01f7b337c.zip
ffmpeg-streaming-9a60b1fad02cb783b895b2145c3dafc01f7b337c.tar.gz
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 bfcc1a3..699aa60 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;
OpenPOWER on IntegriCloud