aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-29 08:43:40 -0700
committerDiego Biurrun <diego@biurrun.de>2014-08-01 04:08:45 -0700
commit5735552f1f17ea01dcbc99b08f54b5bf52176a8f (patch)
treebd3d619f90e56d13232c232c92623ae8719a9fe2
parenta786c8259dafeca9744252230b5d78f67810770c (diff)
downloadffmpeg-5735552f1f17ea01dcbc99b08f54b5bf52176a8f.tar.gz
pngenc: Drop pointless pointer cast in png_write_row()
-rw-r--r--libavcodec/pngenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index a349ee8085..3d11f370cb 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)