diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-01-19 22:12:59 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-01-19 22:12:59 +0000 |
commit | fead30d4440bc7b75006ae60f2742c63a05168b3 (patch) | |
tree | cead68d924846c1bfb756bb46c86184d889d10db /libavformat/sgi.c | |
parent | 50eaa857c099abda803c803927276d81c2d74edb (diff) | |
download | ffmpeg-fead30d4440bc7b75006ae60f2742c63a05168b3.tar.gz |
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sgi.c')
-rw-r--r-- | libavformat/sgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/sgi.c b/libavformat/sgi.c index bf0297e819..5adcb3791e 100644 --- a/libavformat/sgi.c +++ b/libavformat/sgi.c @@ -50,7 +50,7 @@ typedef struct SGIInfo{ static int sgi_probe(AVProbeData *pd) { /* test for sgi magic */ - if (pd->buf_size >= 2 && BE_16(&pd->buf[0]) == SGI_MAGIC) { + if (pd->buf_size >= 2 && AV_RB16(&pd->buf[0]) == SGI_MAGIC) { return AVPROBE_SCORE_MAX; } else { return 0; @@ -197,7 +197,7 @@ static int read_rle_sgi(const SGIInfo *sgi_info, for (y = 0; y < ysize; y++) { dest_row = pict->data[0] + (ysize - 1 - y) * (xsize * zsize); - start_offset = BE_32(&start_table[y + z * ysize]); + start_offset = AV_RB32(&start_table[y + z * ysize]); /* don't seek if already at the next rle start offset */ if (url_ftell(f) != start_offset) { |