aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWan-Teh Chang <wtc@google.com>2024-05-01 13:50:22 -0700
committerJames Zern <jzern@google.com>2024-05-02 02:26:16 +0000
commitc0db981eaada7d80ac6932c909b9368cf555e99b (patch)
tree744e350120ee8207fd7b28a1615417e7b76f71a3
parente9be4f607b7224da22841af07b34dce3fd2ea420 (diff)
downloadlibvpx-c0db981eaada7d80ac6932c909b9368cf555e99b.tar.gz
Include <stdio.h> or <cstdio> for *printf()
Change-Id: Ifc0537fe5ae1223418fb68da5583cc72ae2c32a8
-rw-r--r--args.c1
-rw-r--r--examples/vp9_spatial_svc_encoder.c1
-rw-r--r--test/encode_perf_test.cc1
-rw-r--r--test/predict_test.cc1
-rw-r--r--test/sad_test.cc1
-rw-r--r--test/vp9_quantize_test.cc1
-rw-r--r--test/vp9_subtract_test.cc1
-rw-r--r--vpx/src/vpx_codec.c1
-rw-r--r--y4menc.c1
-rw-r--r--y4minput.c1
10 files changed, 10 insertions, 0 deletions
diff --git a/args.c b/args.c
index 0a9631e1f..3ace56e7c 100644
--- a/args.c
+++ b/args.c
@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c
index 4050c093c..27f06cc63 100644
--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -16,6 +16,7 @@
#include <math.h>
#include <stdarg.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
diff --git a/test/encode_perf_test.cc b/test/encode_perf_test.cc
index 171ff8eec..b97a948e1 100644
--- a/test/encode_perf_test.cc
+++ b/test/encode_perf_test.cc
@@ -7,6 +7,7 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <cstdio>
#include <string>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
diff --git a/test/predict_test.cc b/test/predict_test.cc
index 474eab2cb..45ec14149 100644
--- a/test/predict_test.cc
+++ b/test/predict_test.cc
@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tuple>
diff --git a/test/sad_test.cc b/test/sad_test.cc
index 3530e6605..94e810214 100644
--- a/test/sad_test.cc
+++ b/test/sad_test.cc
@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <stdio.h>
#include <string.h>
#include <limits.h>
diff --git a/test/vp9_quantize_test.cc b/test/vp9_quantize_test.cc
index e00ab4022..1e2f55e21 100644
--- a/test/vp9_quantize_test.cc
+++ b/test/vp9_quantize_test.cc
@@ -9,6 +9,7 @@
*/
#include <math.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tuple>
diff --git a/test/vp9_subtract_test.cc b/test/vp9_subtract_test.cc
index 78deb5190..56338f058 100644
--- a/test/vp9_subtract_test.cc
+++ b/test/vp9_subtract_test.cc
@@ -7,6 +7,7 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <cstdio>
#include <tuple>
#include "third_party/googletest/src/include/gtest/gtest.h"
diff --git a/vpx/src/vpx_codec.c b/vpx/src/vpx_codec.c
index 24528d860..c54a18ecd 100644
--- a/vpx/src/vpx_codec.c
+++ b/vpx/src/vpx_codec.c
@@ -13,6 +13,7 @@
*
*/
#include <stdarg.h>
+#include <stdio.h>
#include <stdlib.h>
#include "vpx/vpx_integer.h"
#include "vpx/internal/vpx_codec_internal.h"
diff --git a/y4menc.c b/y4menc.c
index 187798127..3940249cb 100644
--- a/y4menc.c
+++ b/y4menc.c
@@ -9,6 +9,7 @@
*/
#include <assert.h>
+#include <stdio.h>
#include "./y4menc.h"
int y4m_write_file_header(char *buf, size_t len, int width, int height,
diff --git a/y4minput.c b/y4minput.c
index 210ce52fc..40f152d05 100644
--- a/y4minput.c
+++ b/y4minput.c
@@ -12,6 +12,7 @@
*/
#include <assert.h>
#include <errno.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>