projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca7ba4
)
libx265: Actually use X265_API_IMPORTS
author
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Wed, 11 Jun 2014 19:51:52 +0000
(20:51 +0100)
committer
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Thu, 12 Jun 2014 15:45:02 +0000
(16:45 +0100)
It obvously needs to be above the include statement.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/libx265.c
patch
|
blob
|
history
diff --git
a/libavcodec/libx265.c
b/libavcodec/libx265.c
index 41b1cda45c06b4a778b265c1458ddc596a386a28..0730784d244ad11e4e11a6c16e9a2eedb0b45c78 100644
(file)
--- 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;