Unified · Split
| @@ -536,7 +536,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac · 535 unmodified lines | ||
| 536 | 536 | c->decomp_len = len; |
| 537 | 537 | } else { // ZLIB-compressed data |
| 538 | 538 | c->zstream.total_in = c->zstream.total_out = 0; |
| 539 | − c->zstream.next_in = (uint8_t*)buf; | |
| 539 | + c->zstream.next_in = buf; | |
| 540 | 540 | c->zstream.avail_in = len; |
| 541 | 541 | c->zstream.next_out = c->decomp_buf; |
| 542 | 542 | c->zstream.avail_out = c->decomp_size; |