From a57a1e222aa7cb1fe7f64883a53a3718557a8c13 Mon Sep 17 00:00:00 2001
From: dsmudhar <ds.mudhar@gmail.com>
Date: Sun, 22 May 2016 07:18:25 +0530
Subject: [PATCH 6/7] libavcodec/pngenc: fixed assignment discards qualifier
 warning

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

diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index 00c830e..7f09d6f 100644
--- a/libavcodec/pngenc.c
+++ b/libavcodec/pngenc.c
@@ -271,7 +271,7 @@ static int png_write_row(AVCodecContext *avctx, const uint8_t *data, int size)
     int ret;
 
     s->zstream.avail_in = size;
-    s->zstream.next_in  = data;
+    s->zstream.next_in  = (Bytef *) data;
     while (s->zstream.avail_in > 0) {
         ret = deflate(&s->zstream, Z_NO_FLUSH);
         if (ret != Z_OK)
-- 
2.7.4 (Apple Git-66)

