diff options
author | Måns Rullgård <mans@mansr.com> | 2010-01-19 04:40:18 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-01-19 04:40:18 +0000 |
commit | 1d52b4b390900bc2d525d161e3dd06101e72e389 (patch) | |
tree | c826ca80e3362349b864dd8a15f1cd815c754abf | |
parent | a3e02a8cadcbd1a67fc5783bb92739c9e28006a6 (diff) | |
download | ffmpeg-1d52b4b390900bc2d525d161e3dd06101e72e389.tar.gz |
Use avconfig.h in pixfmt.h
Originally committed as revision 21322 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 fc378d459f..a18da18af4 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -29,6 +29,8 @@ * header, so it should not be directly included in your projects. */ +#include "libavutil/avconfig.h" + /** * Pixel format. Notes: * @@ -127,9 +129,7 @@ enum PixelFormat { PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions }; -#ifdef HAVE_AV_CONFIG_H -#include "config.h" -#if HAVE_BIGENDIAN +#if AV_HAVE_BIGENDIAN # define PIX_FMT_NE(be, le) PIX_FMT_##be #else # define PIX_FMT_NE(be, le) PIX_FMT_##le @@ -150,6 +150,5 @@ enum PixelFormat { #define PIX_FMT_YUV420P16 PIX_FMT_NE(YUV420P16BE, YUV420P16LE) #define PIX_FMT_YUV422P16 PIX_FMT_NE(YUV422P16BE, YUV422P16LE) #define PIX_FMT_YUV444P16 PIX_FMT_NE(YUV444P16BE, YUV444P16LE) -#endif #endif /* AVUTIL_PIXFMT_H */ |