diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-07-29 08:43:40 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-01 04:08:45 -0700 |
commit | 5735552f1f17ea01dcbc99b08f54b5bf52176a8f (patch) | |
tree | bd3d619f90e56d13232c232c92623ae8719a9fe2 | |
parent | a786c8259dafeca9744252230b5d78f67810770c (diff) | |
download | ffmpeg-streaming-5735552f1f17ea01dcbc99b08f54b5bf52176a8f.zip ffmpeg-streaming-5735552f1f17ea01dcbc99b08f54b5bf52176a8f.tar.gz |
pngenc: Drop pointless pointer cast in png_write_row()
-rw-r--r-- | libavcodec/pngenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |