1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/mdec: Don't update cache unnecessarily

It won't be used anyway.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-03-07 03:59:36 +01:00
parent 9aeb6940a2
commit 2e5f01e064

View File

@ -102,7 +102,8 @@ static inline int mdec_decode_block_intra(MDECContext *a, int16_t *block, int n)
/* escape */
run = SHOW_UBITS(re, &a->gb, 6) + 1;
SKIP_BITS(re, &a->gb, 6);
level = SHOW_SBITS(re, &a->gb, 10); SKIP_BITS(re, &a->gb, 10);
level = SHOW_SBITS(re, &a->gb, 10);
LAST_SKIP_BITS(re, &a->gb, 10);
i += run;
if (i > 63) {
av_log(a->avctx, AV_LOG_ERROR,