# HG changeset patch # User reimar # Date 1278804571 0 # Node ID 92ae8fd74b7f043ddba8a04b5a8e38fe9b8a3a13 # Parent 508f24b02449ce91306ab5e9e7040c2a45771c20 bswap compatibility defines. diff -r 508f24b02449 -r 92ae8fd74b7f mpbswap.h --- a/mpbswap.h Sat Jul 10 23:18:45 2010 +0000 +++ b/mpbswap.h Sat Jul 10 23:29:31 2010 +0000 @@ -23,6 +23,13 @@ #include "config.h" #include "libavutil/bswap.h" +#define bswap_16(v) av_bswap16(v) +#define bswap_32(v) av_bswap32(v) +#define le2me_16(v) av_le2ne16(v) +#define le2me_32(v) av_le2ne32(v) +#define le2me_64(v) av_le2ne64(v) +#define be2me_32(v) av_be2ne32(v) + #ifndef HAVE_SWAB void swab(const void *from, void *to, ssize_t n); #endif