diff --git a/libavcodec/mvha.c b/libavcodec/mvha.c index f5387bd190e6291262e2c26df06e31172100e2b1..9f593f71b4970528079094b3fcfa131a827f53dd 100644 --- a/libavcodec/mvha.c +++ b/libavcodec/mvha.c @@ -188,7 +188,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *frame, av_log(avctx, AV_LOG_ERROR, "Inflate error: %d\n", ret); return AVERROR_EXTERNAL; } - if (zsteam->avail_out > 0) + if (zstream->avail_out > 0) memset(zstream->next_out, 0, zstream->avail_out); } }