Browse Source

avcodec/sanm: use named consant instead of literal number

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 12 years ago
parent
commit
dddacf780f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/sanm.c

+ 1
- 1
libavcodec/sanm.c View File

@@ -511,7 +511,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
}

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);
}



Loading…
Cancel
Save