[FFmpeg-cvslog] libswscale: fix compiler warnings enumerated type mixed with another type

Himangi Saraogi git at videolan.org
Mon Mar 16 00:18:00 CET 2015


ffmpeg | branch: master | Himangi Saraogi <himangi774 at gmail.com> | Sat Mar 14 21:40:25 2015 +0530| [9a60b1fad02cb783b895b2145c3dafc01f7b337c] | committer: Luca Barbato

libswscale: fix compiler warnings enumerated type mixed with another type

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a60b1fad02cb783b895b2145c3dafc01f7b337c
---

 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;



More information about the ffmpeg-cvslog mailing list