[SCM] libav/experimental: libx265: Actually use X265_API_IMPORTS

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:27 UTC 2014


The following commit has been merged in the experimental branch:
commit 180e6b48060f97fdd8497320395b61dc85664ecd
Author: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Date:   Wed Jun 11 20:51:52 2014 +0100

    libx265: Actually use X265_API_IMPORTS
    
    It obvously needs to be above the include statement.
    
    Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 41b1cda..0730784 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;
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list