Mercurial > libavcodec.hg
diff kmvc.c @ 4364:05e932ddaaa9 libavcodec
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
author | alex |
---|---|
date | Fri, 19 Jan 2007 22:12:59 +0000 |
parents | c8c591fe26f8 |
children | 59f4fb490fa7 |
line wrap: on
line diff
--- a/kmvc.c Fri Jan 19 12:41:56 2007 +0000 +++ b/kmvc.c Fri Jan 19 22:12:59 2007 +0000 @@ -368,13 +368,13 @@ av_log(NULL, 0, "Extradata missing, decoding may not work properly...\n"); c->palsize = 127; } else { - c->palsize = LE_16(avctx->extradata + 10); + c->palsize = AV_RL16(avctx->extradata + 10); } if (avctx->extradata_size == 1036) { // palette in extradata uint8_t *src = avctx->extradata + 12; for (i = 0; i < 256; i++) { - c->pal[i] = LE_32(src); + c->pal[i] = AV_RL32(src); src += 4; } c->setpal = 1;