[FFmpeg-cvslog] swscale: fix warning about incompatible function pointer type

Vittorio Giovara git at videolan.org
Fri Jan 16 13:09:04 CET 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Thu Jan 15 15:15:21 2015 +0100| [89df3fd49e9992441f680326902b4912d79f514f] | committer: Vittorio Giovara

swscale: fix warning about incompatible function pointer type

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

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

diff --git a/libswscale/input.c b/libswscale/input.c
index 6acd2bb..f575b7b 100644
--- a/libswscale/input.c
+++ b/libswscale/input.c
@@ -596,7 +596,7 @@ static void planar_rgb_to_y(uint8_t *dst, const uint8_t *src[4], int width)
     }
 }
 
-static void planar_rgb_to_a(uint8_t *_dst, const uint8_t *src[4], int width, int32_t *unused)
+static void planar_rgb_to_a(uint8_t *_dst, const uint8_t *src[4], int width)
 {
     uint16_t *dst = (uint16_t *)_dst;
     int i;



More information about the ffmpeg-cvslog mailing list