[MPlayer-cvslog] r31687 - trunk/mpbswap.h
reimar
subversion at mplayerhq.hu
Sun Jul 11 01:29:31 CEST 2010
Author: reimar
Date: Sun Jul 11 01:29:31 2010
New Revision: 31687
Log:
bswap compatibility defines.
Modified:
trunk/mpbswap.h
Modified: trunk/mpbswap.h
==============================================================================
--- trunk/mpbswap.h Sun Jul 11 01:18:45 2010 (r31686)
+++ trunk/mpbswap.h Sun Jul 11 01:29:31 2010 (r31687)
@@ -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
More information about the MPlayer-cvslog
mailing list