summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-05-12 19:02:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-05-12 19:02:05 +0000
commitf2378498627e3c4c76a18a32842ff1826b68a949 (patch)
tree46bdb9d5c3212644c6fe0125260c15c57d2746d2 /examples
parent73de6ad522fcd465fe378e1b4d4cb369faee5901 (diff)
parent5c337fd08a6ffcaaf87edeb84d7c5e7c1f04206c (diff)
downloadlibvpx-f2378498627e3c4c76a18a32842ff1826b68a949.tar.gz
libvpx-f2378498627e3c4c76a18a32842ff1826b68a949.tar.bz2
libvpx-f2378498627e3c4c76a18a32842ff1826b68a949.zip
Merge changes from topic 'missing-proto'
* changes: vpxenc: make some functions static vpxdec: make some functions static tools_common.h: fix get_vpx_decoder_count() proto tools_common.h: fix get_vpx_encoder_count() proto tools_common.h: fix usage_exit() prototype
Diffstat (limited to 'examples')
-rw-r--r--examples/decode_to_md5.c2
-rw-r--r--examples/decode_with_drops.c2
-rw-r--r--examples/postproc.c2
-rw-r--r--examples/resize_util.c3
-rw-r--r--examples/set_maps.c2
-rw-r--r--examples/simple_decoder.c2
-rw-r--r--examples/simple_encoder.c2
-rw-r--r--examples/twopass_encoder.c2
-rw-r--r--examples/vp8_multi_resolution_encoder.c4
-rw-r--r--examples/vp8cx_set_ref.c2
-rw-r--r--examples/vp9_lossless_encoder.c2
-rw-r--r--examples/vp9_spatial_svc_encoder.c2
-rw-r--r--examples/vpx_temporal_svc_encoder.c2
13 files changed, 15 insertions, 14 deletions
diff --git a/examples/decode_to_md5.c b/examples/decode_to_md5.c
index a3843bed3..1ae7a4b57 100644
--- a/examples/decode_to_md5.c
+++ b/examples/decode_to_md5.c
@@ -71,7 +71,7 @@ static void print_md5(FILE *stream, unsigned char digest[16]) {
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr, "Usage: %s <infile> <outfile>\n", exec_name);
exit(EXIT_FAILURE);
}
diff --git a/examples/decode_with_drops.c b/examples/decode_with_drops.c
index 36f7d80e1..2233e473d 100644
--- a/examples/decode_with_drops.c
+++ b/examples/decode_with_drops.c
@@ -65,7 +65,7 @@
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr, "Usage: %s <infile> <outfile> <N-M|N/M>\n", exec_name);
exit(EXIT_FAILURE);
}
diff --git a/examples/postproc.c b/examples/postproc.c
index e34426a61..a8ac208d9 100644
--- a/examples/postproc.c
+++ b/examples/postproc.c
@@ -52,7 +52,7 @@
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr, "Usage: %s <infile> <outfile>\n", exec_name);
exit(EXIT_FAILURE);
}
diff --git a/examples/resize_util.c b/examples/resize_util.c
index f8c35255f..e6fdd5bb2 100644
--- a/examples/resize_util.c
+++ b/examples/resize_util.c
@@ -15,6 +15,7 @@
#include <stdlib.h>
#include <string.h>
+#include "../tools_common.h"
#include "../vp9/encoder/vp9_resize.h"
static const char *exec_name = NULL;
@@ -26,7 +27,7 @@ static void usage() {
printf("<output_yuv> [<frames>]\n");
}
-void usage_exit() {
+void usage_exit(void) {
usage();
exit(EXIT_FAILURE);
}
diff --git a/examples/set_maps.c b/examples/set_maps.c
index 5555baac2..1dc3ac0c9 100644
--- a/examples/set_maps.c
+++ b/examples/set_maps.c
@@ -55,7 +55,7 @@
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n",
exec_name);
exit(EXIT_FAILURE);
diff --git a/examples/simple_decoder.c b/examples/simple_decoder.c
index 08a216685..8ccc81035 100644
--- a/examples/simple_decoder.c
+++ b/examples/simple_decoder.c
@@ -88,7 +88,7 @@
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr, "Usage: %s <infile> <outfile>\n", exec_name);
exit(EXIT_FAILURE);
}
diff --git a/examples/simple_encoder.c b/examples/simple_encoder.c
index e805c2587..a30772973 100644
--- a/examples/simple_encoder.c
+++ b/examples/simple_encoder.c
@@ -106,7 +106,7 @@
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr,
"Usage: %s <codec> <width> <height> <infile> <outfile> "
"<keyframe-interval> [<error-resilient>]\nSee comments in "
diff --git a/examples/twopass_encoder.c b/examples/twopass_encoder.c
index 0ec83ddcc..aecc11d3f 100644
--- a/examples/twopass_encoder.c
+++ b/examples/twopass_encoder.c
@@ -58,7 +58,7 @@
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n",
exec_name);
exit(EXIT_FAILURE);
diff --git a/examples/vp8_multi_resolution_encoder.c b/examples/vp8_multi_resolution_encoder.c
index b4272b783..2b032049c 100644
--- a/examples/vp8_multi_resolution_encoder.c
+++ b/examples/vp8_multi_resolution_encoder.c
@@ -40,11 +40,11 @@
#include "vpx/vpx_encoder.h"
#include "vpx/vp8cx.h"
#include "vpx_ports/mem_ops.h"
-#include "./tools_common.h"
+#include "../tools_common.h"
#define interface (vpx_codec_vp8_cx())
#define fourcc 0x30385056
-void usage_exit() {
+void usage_exit(void) {
exit(EXIT_FAILURE);
}
diff --git a/examples/vp8cx_set_ref.c b/examples/vp8cx_set_ref.c
index a2982821a..8b4cc303d 100644
--- a/examples/vp8cx_set_ref.c
+++ b/examples/vp8cx_set_ref.c
@@ -58,7 +58,7 @@
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr, "Usage: %s <width> <height> <infile> <outfile> <frame>\n",
exec_name);
exit(EXIT_FAILURE);
diff --git a/examples/vp9_lossless_encoder.c b/examples/vp9_lossless_encoder.c
index 54275770d..827251683 100644
--- a/examples/vp9_lossless_encoder.c
+++ b/examples/vp9_lossless_encoder.c
@@ -20,7 +20,7 @@
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr, "vp9_lossless_encoder: Example demonstrating VP9 lossless "
"encoding feature. Supports raw input only.\n");
fprintf(stderr, "Usage: %s <width> <height> <infile> <outfile>\n", exec_name);
diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c
index f4deb693b..a3fd65f2a 100644
--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -116,7 +116,7 @@ typedef struct {
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
fprintf(stderr, "Usage: %s <options> input_filename output_filename\n",
exec_name);
fprintf(stderr, "Options:\n");
diff --git a/examples/vpx_temporal_svc_encoder.c b/examples/vpx_temporal_svc_encoder.c
index 349875997..964954e91 100644
--- a/examples/vpx_temporal_svc_encoder.c
+++ b/examples/vpx_temporal_svc_encoder.c
@@ -28,7 +28,7 @@
static const char *exec_name;
-void usage_exit() {
+void usage_exit(void) {
exit(EXIT_FAILURE);
}