comparison nuv.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 6a900f539e2c
comparison
equal deleted inserted replaced
4363:9b7662fa4905 4364:05e932ddaaa9
62 if (size < 2 * 64 * 4) { 62 if (size < 2 * 64 * 4) {
63 av_log(avctx, AV_LOG_ERROR, "insufficient rtjpeg quant data\n"); 63 av_log(avctx, AV_LOG_ERROR, "insufficient rtjpeg quant data\n");
64 return -1; 64 return -1;
65 } 65 }
66 for (i = 0; i < 64; i++, buf += 4) 66 for (i = 0; i < 64; i++, buf += 4)
67 c->lq[i] = LE_32(buf); 67 c->lq[i] = AV_RL32(buf);
68 for (i = 0; i < 64; i++, buf += 4) 68 for (i = 0; i < 64; i++, buf += 4)
69 c->cq[i] = LE_32(buf); 69 c->cq[i] = AV_RL32(buf);
70 return 0; 70 return 0;
71 } 71 }
72 72
73 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, 73 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
74 uint8_t *buf, int buf_size) { 74 uint8_t *buf, int buf_size) {