aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/spdif.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-10 22:12:30 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-10 22:12:30 +0000
commit8fc0162ac44f3e60798552ca6d19387be95cae4c (patch)
tree443f7c684a3a8be0e9b70d67a91b8572bfa1ddd2 /libavformat/spdif.c
parente6b22522c94cfccda97018e52ab65da8c69d8a56 (diff)
downloadffmpeg-8fc0162ac44f3e60798552ca6d19387be95cae4c.tar.gz
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/spdif.c')
-rw-r--r--libavformat/spdif.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/spdif.c b/libavformat/spdif.c
index 813be679d7..1355797593 100644
--- a/libavformat/spdif.c
+++ b/libavformat/spdif.c
@@ -90,17 +90,17 @@ static void bswap_buf16(uint16_t *dst, const uint16_t *src, int w)
int i;
for (i = 0; i + 8 <= w; i += 8) {
- dst[i + 0] = bswap_16(src[i + 0]);
- dst[i + 1] = bswap_16(src[i + 1]);
- dst[i + 2] = bswap_16(src[i + 2]);
- dst[i + 3] = bswap_16(src[i + 3]);
- dst[i + 4] = bswap_16(src[i + 4]);
- dst[i + 5] = bswap_16(src[i + 5]);
- dst[i + 6] = bswap_16(src[i + 6]);
- dst[i + 7] = bswap_16(src[i + 7]);
+ dst[i + 0] = av_bswap16(src[i + 0]);
+ dst[i + 1] = av_bswap16(src[i + 1]);
+ dst[i + 2] = av_bswap16(src[i + 2]);
+ dst[i + 3] = av_bswap16(src[i + 3]);
+ dst[i + 4] = av_bswap16(src[i + 4]);
+ dst[i + 5] = av_bswap16(src[i + 5]);
+ dst[i + 6] = av_bswap16(src[i + 6]);
+ dst[i + 7] = av_bswap16(src[i + 7]);
}
for (; i < w; i++)
- dst[i + 0] = bswap_16(src[i + 0]);
+ dst[i + 0] = av_bswap16(src[i + 0]);
}
static int spdif_header_ac3(AVFormatContext *s, AVPacket *pkt)