From 445bb83042e33724d68e65a457d0e309628d63ba Mon Sep 17 00:00:00 2001
From: Martin Vignali <martin.vignali@gmail.com>
Date: Fri, 20 Mar 2015 21:40:21 +0100
Subject: [PATCH 4/4] avoid compiler warning in snowenc

---
 libavcodec/snowenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c
index 544efbf..e783878 100644
--- a/libavcodec/snowenc.c
+++ b/libavcodec/snowenc.c
@@ -1549,7 +1549,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
 {
     SnowContext *s = avctx->priv_data;
     RangeCoder * const c= &s->c;
-    AVFrame *pic = pict;
+    AVFrame *pic = (AVFrame*)pict;
     const int width= s->avctx->width;
     const int height= s->avctx->height;
     int level, orientation, plane_index, i, y, ret;
-- 
1.9.3 (Apple Git-50)

