aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-22 02:05:32 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-12 11:43:59 +0200
commitbbe10bcae84dd5ee30f2df464299c4f3d14b3042 (patch)
treefce8136e8f6aeec1fdddda78887d2e168f8f3ac1
parent2f22fd7ec18e7662e12955d719fe6a9589476602 (diff)
downloadffmpeg-bbe10bcae84dd5ee30f2df464299c4f3d14b3042.tar.gz
avcodec/mpeg12dec: Remove write-only assignment
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/mpeg12dec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index d3005d032f..002ddfe72b 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -2788,8 +2788,6 @@ static int ipu_decode_frame(AVCodecContext *avctx, AVFrame *frame,
m->intra_scantable.permutated,
m->last_dc, s->block[n],
n, m->qscale);
- if (ret >= 0)
- m->block_last_index[n] = ret;
} else {
ret = mpeg2_decode_block_intra(m, s->block[n], n);
}