diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-21 22:50:29 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-21 22:50:29 +0000 |
commit | 31a79497b7a9fb84e92593ecb5703063ec3ca35a (patch) | |
tree | 07f5b236465296e3bdf3f8f5346deea758e07e82 | |
parent | a1a05abebda959c7a49b5c3f03c0562def2ee2ef (diff) | |
download | ffmpeg-31a79497b7a9fb84e92593ecb5703063ec3ca35a.tar.gz |
Use PIX_FMT_NE() macro.
Originally committed as revision 18132 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/pixfmt.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index 6a7034c1d6..fb332cc99e 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -123,15 +123,14 @@ enum PixelFormat { #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 */ |