From 7c0788b07f1b1cddfa6cdab50ef0370663e64f86 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 16 Jun 2017 16:15:28 -0700 Subject: [PATCH] onyxd.h: add vp8dx_references_buffer prototype quiets -Wmissing-prototypes Change-Id: I6bee535f3fb67e54a390266d787a5a92127aeadc --- vp8/common/onyxd.h | 2 ++ vp8/vp8_dx_iface.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vp8/common/onyxd.h b/vp8/common/onyxd.h index cc2cb8089..d3c1b0e97 100644 --- a/vp8/common/onyxd.h +++ b/vp8/common/onyxd.h @@ -22,6 +22,7 @@ extern "C" { #include "vpx/vp8.h" struct VP8D_COMP; +struct VP8Common; typedef struct { int Width; @@ -45,6 +46,7 @@ int vp8dx_receive_compressed_data(struct VP8D_COMP *comp, size_t size, int vp8dx_get_raw_frame(struct VP8D_COMP *comp, YV12_BUFFER_CONFIG *sd, int64_t *time_stamp, int64_t *time_end_stamp, vp8_ppflags_t *flags); +int vp8dx_references_buffer(struct VP8Common *oci, int ref_frame); vpx_codec_err_t vp8dx_get_reference(struct VP8D_COMP *comp, enum vpx_ref_frame_type ref_frame_flag, diff --git a/vp8/vp8_dx_iface.c b/vp8/vp8_dx_iface.c index 9ea9c7f04..4868f15a6 100644 --- a/vp8/vp8_dx_iface.c +++ b/vp8/vp8_dx_iface.c @@ -580,7 +580,6 @@ static vpx_codec_err_t vp8_get_last_ref_updates(vpx_codec_alg_priv_t *ctx, } } -extern int vp8dx_references_buffer(VP8_COMMON *oci, int ref_frame); static vpx_codec_err_t vp8_get_last_ref_frame(vpx_codec_alg_priv_t *ctx, va_list args) { int *ref_info = va_arg(args, int *); -- 2.40.0