[FFmpeg-cvslog] pngenc: Drop pointless pointer cast in png_write_row()
Diego Biurrun
git at videolan.org
Fri Aug 1 16:28:54 CEST 2014
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Jul 29 08:43:40 2014 -0700| [5735552f1f17ea01dcbc99b08f54b5bf52176a8f] | committer: Diego Biurrun
pngenc: Drop pointless pointer cast in png_write_row()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5735552f1f17ea01dcbc99b08f54b5bf52176a8f
---
libavcodec/pngenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index a349ee8..3d11f37 100644
--- a/libavcodec/pngenc.c
+++ b/libavcodec/pngenc.c
@@ -213,7 +213,7 @@ static int png_write_row(PNGEncContext *s, const uint8_t *data, int size)
int ret;
s->zstream.avail_in = size;
- s->zstream.next_in = (uint8_t *)data;
+ s->zstream.next_in = data;
while (s->zstream.avail_in > 0) {
ret = deflate(&s->zstream, Z_NO_FLUSH);
if (ret != Z_OK)
More information about the ffmpeg-cvslog
mailing list