Module: libav
Branch: master
Commit: 9a60b1fad02cb783b895b2145c3dafc01f7b337c

Author:    Himangi Saraogi <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Sat Mar 14 21:40:25 2015 +0530

libswscale: fix compiler warnings enumerated type mixed with another type

Signed-off-by: Luca Barbato <[email protected]>

---

 libswscale/swscale_unscaled.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to