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