ffmpeg | branch: master | Paul B Mahol <[email protected]> | Sat Sep  4 23:13:16 
2021 +0200| [d18b445689e4823103932f106b6ec561ab314237] | committer: Paul B Mahol

avcodec/mlpenc: remove unused item

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d18b445689e4823103932f106b6ec561ab314237
---

 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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to