From: Johann Date: Fri, 21 Dec 2018 00:03:15 +0000 (+0000) Subject: svc examples: resolve missing declarations X-Git-Tag: v1.8.0~42^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17c6f62628aebbda1b29df9750a1311ca0ca0e5f;p=libvpx svc examples: resolve missing declarations BUG=webm:1584 Change-Id: Icb7ba5bb5a6d460c4d0419b76ee54af461ca4a52 --- diff --git a/examples/svc_encodeframe.c b/examples/svc_encodeframe.c index 0b3c90e22..40d6e3a3c 100644 --- a/examples/svc_encodeframe.c +++ b/examples/svc_encodeframe.c @@ -280,8 +280,8 @@ vpx_codec_err_t vpx_svc_set_options(SvcContext *svc_ctx, const char *options) { return VPX_CODEC_OK; } -vpx_codec_err_t assign_layer_bitrates(const SvcContext *svc_ctx, - vpx_codec_enc_cfg_t *const enc_cfg) { +static vpx_codec_err_t assign_layer_bitrates( + const SvcContext *svc_ctx, vpx_codec_enc_cfg_t *const enc_cfg) { int i; const SvcInternal_t *const si = get_const_svc_internal(svc_ctx); int sl, tl, spatial_layer_target; diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c index 50d9106ac..f8093e1bf 100644 --- a/examples/vp9_spatial_svc_encoder.c +++ b/examples/vp9_spatial_svc_encoder.c @@ -539,8 +539,9 @@ static void printout_rate_control_summary(struct RateControlStats *rc, tot_num_frames); } -vpx_codec_err_t parse_superframe_index(const uint8_t *data, size_t data_sz, - uint64_t sizes[8], int *count) { +static vpx_codec_err_t parse_superframe_index(const uint8_t *data, + size_t data_sz, 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