changeset 706:40979c781a28 libavutil

Use PIX_FMT_NE() macro.
author stefano
date Sat, 21 Mar 2009 22:50:29 +0000
parents da8296e7a4d6
children 3138bb2c6780
files pixfmt.h
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pixfmt.h	Sat Mar 21 22:48:48 2009 +0000
+++ b/pixfmt.h	Sat Mar 21 22:50:29 2009 +0000
@@ -123,15 +123,14 @@
 #define PIX_FMT_BGRA PIX_FMT_BGR32_1
 #define PIX_FMT_ARGB PIX_FMT_RGB32
 #define PIX_FMT_ABGR PIX_FMT_BGR32
-#define PIX_FMT_GRAY16 PIX_FMT_GRAY16BE
-#define PIX_FMT_RGB48 PIX_FMT_RGB48BE
 #else
 #define PIX_FMT_RGBA PIX_FMT_BGR32
 #define PIX_FMT_BGRA PIX_FMT_RGB32
 #define PIX_FMT_ARGB PIX_FMT_BGR32_1
 #define PIX_FMT_ABGR PIX_FMT_RGB32_1
-#define PIX_FMT_GRAY16 PIX_FMT_GRAY16LE
-#define PIX_FMT_RGB48 PIX_FMT_RGB48LE
 #endif
 
+#define PIX_FMT_GRAY16 PIX_FMT_NE(GRAY16)
+#define PIX_FMT_RGB48  PIX_FMT_NE(RGB48)
+
 #endif /* AVUTIL_PIXFMT_H */