shithub: libvpx

Download patch

ref: 58058818258218da7f0e0ca2320c5b8d89f42cdf
parent: 1e681d98ac5a9b719052b672d985d59a8b529236
author: James Zern <jzern@google.com>
date: Fri Aug 15 17:00:31 EDT 2014

vpxenc: fix compile with --disable-libyuv

Change-Id: I13d975d1f0e598e498798e4f33b06483f3a41130

--- a/vpxenc.c
+++ b/vpxenc.c
@@ -19,12 +19,15 @@
 #include <stdlib.h>
 #include <string.h>
 
+#if CONFIG_LIBYUV
+#include "third_party/libyuv/include/libyuv/scale.h"
+#endif
+
 #include "vpx/vpx_encoder.h"
 #if CONFIG_DECODERS
 #include "vpx/vpx_decoder.h"
 #endif
 
-#include "third_party/libyuv/include/libyuv/scale.h"
 #include "./args.h"
 #include "./ivfenc.h"
 #include "./tools_common.h"
--