You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
zmbv: Fix warning about discarded qualifier
Based on patch by: jamal <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -505,7 +505,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
|
|||||||
c->decomp_size = 1;
|
c->decomp_size = 1;
|
||||||
} else { // ZLIB-compressed data
|
} else { // ZLIB-compressed data
|
||||||
c->zstream.total_in = c->zstream.total_out = 0;
|
c->zstream.total_in = c->zstream.total_out = 0;
|
||||||
c->zstream.next_in = buf;
|
c->zstream.next_in = (uint8_t*)buf;
|
||||||
c->zstream.avail_in = len;
|
c->zstream.avail_in = len;
|
||||||
c->zstream.next_out = c->decomp_buf;
|
c->zstream.next_out = c->decomp_buf;
|
||||||
c->zstream.avail_out = c->decomp_size;
|
c->zstream.avail_out = c->decomp_size;
|
||||||
|
Reference in New Issue
Block a user