From d18b445689e4823103932f106b6ec561ab314237 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 4 Sep 2021 23:13:16 +0200 Subject: [PATCH] avcodec/mlpenc: remove unused item --- libavcodec/mlpenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c index 91cdee2d1b..4af3b1e37f 100644 --- a/libavcodec/mlpenc.c +++ b/libavcodec/mlpenc.c @@ -130,7 +130,6 @@ typedef struct MLPEncodeContext { int32_t *sample_buffer; ///< Pointer to current access unit samples. int32_t *major_scratch_buffer; ///< Scratch buffer big enough to fit all data for one entire major frame interval. int32_t last_frames; ///< Signal last frames. - int32_t last_index; int32_t *lpc_sample_buffer; @@ -2203,7 +2202,6 @@ static int mlp_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, if ((ret = ff_af_queue_add(&ctx->afq, frame)) < 0) return ret; ctx->last_frames = ctx->max_restart_interval; - ctx->last_index = ctx->frame_index; } data = frame ? frame->data[0] : NULL;