diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2014-06-11 20:51:52 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2014-06-12 13:53:34 +0100 |
commit | 4e9b46b0568196e9e1640350a3c6f5f09bfd9e47 (patch) | |
tree | 38152b5dc0863ccb5703bbc3e3444da547f61392 | |
parent | 52ce6be86b6a4404ad5d7d92266ea6cbc103102f (diff) | |
download | ffmpeg-4e9b46b0568196e9e1640350a3c6f5f09bfd9e47.tar.gz |
libx265: Actually use X265_API_IMPORTS
It obvously needs to be above the include statement.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r-- | libavcodec/libx265.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 4de504a9fe..9be84698ba 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#if defined(_MSC_VER) +#define X265_API_IMPORTS 1 +#endif + #include <x265.h> #include "libavutil/internal.h" @@ -29,10 +33,6 @@ #include "avcodec.h" #include "internal.h" -#if defined(_MSC_VER) -#define X265_API_IMPORTS 1 -#endif - typedef struct libx265Context { const AVClass *class; |