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

avcodec/mpegvideo_dec: Reindent after the previous commit

Also use dedicated variables for the accesses.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-06-15 22:24:58 +02:00
parent 261d8eb5dd
commit 8cff637cf0

View File

@ -1066,14 +1066,17 @@ void mpv_reconstruct_mb_internal(MpegEncContext *s, int16_t block[12][64],
static av_cold void debug_dct_coeffs(MPVContext *s, const int16_t block[][64]) static av_cold void debug_dct_coeffs(MPVContext *s, const int16_t block[][64])
{ {
void *const logctx = s->avctx;
const uint8_t *const idct_permutation = s->idsp.idct_permutation;
/* print DCT coefficients */ /* print DCT coefficients */
av_log(s->avctx, AV_LOG_DEBUG, "DCT coeffs of MB at %dx%d:\n", s->mb_x, s->mb_y); av_log(logctx, AV_LOG_DEBUG, "DCT coeffs of MB at %dx%d:\n", s->mb_x, s->mb_y);
for (int i = 0; i < 6; i++) { for (int i = 0; i < 6; i++) {
for (int j = 0; j < 64; j++) { for (int j = 0; j < 64; j++) {
av_log(s->avctx, AV_LOG_DEBUG, "%5d", av_log(logctx, AV_LOG_DEBUG, "%5d",
block[i][s->idsp.idct_permutation[j]]); block[i][idct_permutation[j]]);
} }
av_log(s->avctx, AV_LOG_DEBUG, "\n"); av_log(logctx, AV_LOG_DEBUG, "\n");
} }
} }