diff options
author | Jerome Jiang <jianj@google.com> | 2017-11-17 14:33:21 -0800 |
---|---|---|
committer | Jerome Jiang <jianj@google.com> | 2017-11-17 14:40:05 -0800 |
commit | 8b7a6ca60a47f23d85dd07bbe19c93ea7cd31a33 (patch) | |
tree | ded08e270f4c335e6dd6be4a6cb72bb329948fbd /examples/vp9_spatial_svc_encoder.c | |
parent | 849b3c238d3bc3a1d038d15413b7c96694285ffe (diff) | |
download | libvpx-8b7a6ca60a47f23d85dd07bbe19c93ea7cd31a33.tar libvpx-8b7a6ca60a47f23d85dd07bbe19c93ea7cd31a33.tar.gz libvpx-8b7a6ca60a47f23d85dd07bbe19c93ea7cd31a33.tar.bz2 libvpx-8b7a6ca60a47f23d85dd07bbe19c93ea7cd31a33.zip |
vp9 svc: fix a few compile warnings.
Change-Id: I4cb878600038066513ab73f3658990d1245ff2fb
Diffstat (limited to 'examples/vp9_spatial_svc_encoder.c')
-rw-r--r-- | examples/vp9_spatial_svc_encoder.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c index 2c9aa67df..0987cbfb8 100644 --- a/examples/vp9_spatial_svc_encoder.c +++ b/examples/vp9_spatial_svc_encoder.c @@ -168,7 +168,7 @@ void usage_exit(void) { static void parse_command_line(int argc, const char **argv_, AppInput *app_input, SvcContext *svc_ctx, vpx_codec_enc_cfg_t *enc_cfg) { - struct arg arg = { 0 }; + struct arg arg; char **argv = NULL; char **argi = NULL; char **argj = NULL; @@ -509,7 +509,7 @@ static void printout_rate_control_summary(struct RateControlStats *rc, } vpx_codec_err_t parse_superframe_index(const uint8_t *data, size_t data_sz, - uint32_t sizes[8], int *count) { + uint64_t sizes[8], int *count) { // A chunk ending with a byte matching 0xc0 is an invalid chunk unless // it is a super frame index. If the last byte of real video compression // data is 0xc0 the encoder must add a 0 byte. If we have the marker but @@ -606,9 +606,9 @@ void set_frame_flags_bypass_mode(int sl, int tl, int num_spatial_layers, } int main(int argc, const char **argv) { - AppInput app_input = { 0 }; + AppInput app_input; VpxVideoWriter *writer = NULL; - VpxVideoInfo info = { 0 }; + VpxVideoInfo info; vpx_codec_ctx_t codec; vpx_codec_enc_cfg_t enc_cfg; SvcContext svc_ctx; @@ -770,7 +770,7 @@ int main(int argc, const char **argv) { SvcInternal_t *const si = (SvcInternal_t *)svc_ctx.internal; if (cx_pkt->data.frame.sz > 0) { #if OUTPUT_RC_STATS - uint32_t sizes[8]; + uint64_t sizes[8]; int count = 0; #endif vpx_video_writer_write_frame(writer, cx_pkt->data.frame.buf, |