]> granicus.if.org Git - libvpx/blobdiff - vpxenc.c
y4minput.c : removed malloc of 0 bytes to resolve warning
[libvpx] / vpxenc.c
index 7e037a62ce81905625d37dca9f192fb964cc6f8e..b99e61a128fd832536b8c47e2c1ea32acff5fd33 100644 (file)
--- a/vpxenc.c
+++ b/vpxenc.c
 #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"