Commit 96cea626 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '5735552f'

* commit '5735552f':
  pngenc: Drop pointless pointer cast in png_write_row()
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents f54e01c2 5735552f
......@@ -215,7 +215,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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment