aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-06-11 20:51:52 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-06-12 16:45:02 +0100
commit180e6b48060f97fdd8497320395b61dc85664ecd (patch)
tree0195e7443b92763ad38e60a31edc2dee2428a0dc
parentdca7ba4bffe3e4aeb620cb62955256a0d87561f4 (diff)
downloadffmpeg-180e6b48060f97fdd8497320395b61dc85664ecd.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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 41b1cda45c..0730784d24 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;