diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-09-04 23:13:16 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-09-05 00:09:55 +0200 |
commit | d18b445689e4823103932f106b6ec561ab314237 (patch) | |
tree | 252ed54f8e998b6bd8e3d98141f04762aba04a98 /libavcodec/mlpenc.c | |
parent | 7453d3482a02452d67ca2fa2a2ed1e6094fdddeb (diff) |
avcodec/mlpenc: remove unused item
Diffstat (limited to 'libavcodec/mlpenc.c')
-rw-r--r-- | libavcodec/mlpenc.c | 2 |
1 files changed, 0 insertions, 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; |