diff shorten.c @ 12129:8b28e74de2c0 libavcodec

Add av_ prefix to bswap macros
author mru
date Sat, 10 Jul 2010 22:12:30 +0000
parents f092b80c0da2
children
line wrap: on
line diff
--- a/shorten.c	Sat Jul 10 22:09:01 2010 +0000
+++ b/shorten.c	Sat Jul 10 22:12:30 2010 +0000
@@ -184,12 +184,12 @@
 
 static inline int get_le32(GetBitContext *gb)
 {
-    return bswap_32(get_bits_long(gb, 32));
+    return av_bswap32(get_bits_long(gb, 32));
 }
 
 static inline short get_le16(GetBitContext *gb)
 {
-    return bswap_16(get_bits_long(gb, 16));
+    return av_bswap16(get_bits_long(gb, 16));
 }
 
 static int decode_wave_header(AVCodecContext *avctx, uint8_t *header, int header_size)