comparison bytestream.h @ 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 d6f83e2f8804
children 601865b7fc26
comparison
equal deleted inserted replaced
4363:9b7662fa4905 4364:05e932ddaaa9
23 #define FFMPEG_BYTESTREAM_H 23 #define FFMPEG_BYTESTREAM_H
24 24
25 static av_always_inline unsigned int bytestream_get_le32(uint8_t **b) 25 static av_always_inline unsigned int bytestream_get_le32(uint8_t **b)
26 { 26 {
27 (*b) += 4; 27 (*b) += 4;
28 return LE_32(*b - 4); 28 return AV_RL32(*b - 4);
29 } 29 }
30 30
31 static av_always_inline unsigned int bytestream_get_le16(uint8_t **b) 31 static av_always_inline unsigned int bytestream_get_le16(uint8_t **b)
32 { 32 {
33 (*b) += 2; 33 (*b) += 2;
34 return LE_16(*b - 2); 34 return AV_RL16(*b - 2);
35 } 35 }
36 36
37 static av_always_inline unsigned int bytestream_get_byte(uint8_t **b) 37 static av_always_inline unsigned int bytestream_get_byte(uint8_t **b)
38 { 38 {
39 (*b)++; 39 (*b)++;