mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-15 11:17:49 +00:00
avcodec/sanm: use named consant instead of literal number
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
acf112ba6e
commit
dddacf780f
@ -511,7 +511,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctx->subversion = AV_RL16(avctx->extradata);
|
ctx->subversion = AV_RL16(avctx->extradata);
|
||||||
for (i = 0; i < 256; i++)
|
for (i = 0; i < PALETTE_SIZE; i++)
|
||||||
ctx->pal[i] = 0xFFU << 24 | AV_RL32(avctx->extradata + 2 + i * 4);
|
ctx->pal[i] = 0xFFU << 24 | AV_RL32(avctx->extradata + 2 + i * 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user