Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-22 12:20:05 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-07-22 12:23:46 +0400
commitb909428dabe31b6c55fff57d743b3eaddd449e7a (patch)
treecdb30ad48c128245dd02d97d4d6a4e1242e0cc7a /libavcodec/libx264.c
parent5feaa451bb6513952c3c7acbccb6f5cf17a40790 (diff)
parent4719040cd1b54381796b22056a9ae37bd2b4668d (diff)
Merge commit '4719040cd1b54381796b22056a9ae37bd2b4668d'
* commit '4719040cd1b54381796b22056a9ae37bd2b4668d': libx264: Define X264_API_IMPORTS on MSVC/ICL Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 0a1341263c..553c57ee46 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -25,6 +25,11 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "internal.h"
+
+#if defined(_MSC_VER)
+#define X264_API_IMPORTS 1
+#endif
+
#include <x264.h>
#include <float.h>
#include <math.h>