| Index: source/libvpx/tools_common.h
|
| diff --git a/source/libvpx/tools_common.h b/source/libvpx/tools_common.h
|
| index de6c38f0f5b1584c50fe838365dc8eb73881eb19..aa7f025992e37731bbbc9c4ca7658d671df963a2 100644
|
| --- a/source/libvpx/tools_common.h
|
| +++ b/source/libvpx/tools_common.h
|
| @@ -16,6 +16,7 @@
|
| #include "vpx/vpx_codec.h"
|
| #include "vpx/vpx_image.h"
|
| #include "vpx/vpx_integer.h"
|
| +#include "vpx_ports/msvc.h"
|
|
|
| #if CONFIG_ENCODERS
|
| #include "./y4minput.h"
|
| @@ -34,7 +35,6 @@
|
| #if CONFIG_OS_SUPPORT
|
| #if defined(_MSC_VER)
|
| #include <io.h> /* NOLINT */
|
| -#define snprintf _snprintf
|
| #define isatty _isatty
|
| #define fileno _fileno
|
| #else
|
| @@ -119,7 +119,7 @@ void warn(const char *fmt, ...);
|
| void die_codec(vpx_codec_ctx_t *ctx, const char *s) VPX_NO_RETURN;
|
|
|
| /* The tool including this file must define usage_exit() */
|
| -void usage_exit() VPX_NO_RETURN;
|
| +void usage_exit(void) VPX_NO_RETURN;
|
|
|
| #undef VPX_NO_RETURN
|
|
|
| @@ -131,11 +131,11 @@ typedef struct VpxInterface {
|
| vpx_codec_iface_t *(*const codec_interface)();
|
| } VpxInterface;
|
|
|
| -int get_vpx_encoder_count();
|
| +int get_vpx_encoder_count(void);
|
| const VpxInterface *get_vpx_encoder_by_index(int i);
|
| const VpxInterface *get_vpx_encoder_by_name(const char *name);
|
|
|
| -int get_vpx_decoder_count();
|
| +int get_vpx_decoder_count(void);
|
| const VpxInterface *get_vpx_decoder_by_index(int i);
|
| const VpxInterface *get_vpx_decoder_by_name(const char *name);
|
| const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);
|
|
|