From a377f99088ad76a7cd6340c0533a48eee299a17f Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 16 Jun 2017 16:16:05 -0700 Subject: [PATCH] onyxd_int.h: add missing prototypes vp8cx_init_de_quantizer, vp8_mb_init_dequantizer quiets -Wmissing-prototypes Change-Id: Ib63d14caf0144eff31a75b7cdb667b7e1f9d83ae --- vp8/decoder/onyxd_if.c | 1 - vp8/decoder/onyxd_int.h | 2 ++ vp8/decoder/threading.c | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vp8/decoder/onyxd_if.c b/vp8/decoder/onyxd_if.c index 789c2eeff..f516eb0c7 100644 --- a/vp8/decoder/onyxd_if.c +++ b/vp8/decoder/onyxd_if.c @@ -41,7 +41,6 @@ #endif extern void vp8_init_loop_filter(VP8_COMMON *cm); -extern void vp8cx_init_de_quantizer(VP8D_COMP *pbi); static int get_free_fb(VP8_COMMON *cm); static void ref_cnt_fb(int *buf, int *idx, int new_idx); diff --git a/vp8/decoder/onyxd_int.h b/vp8/decoder/onyxd_int.h index 88b1ff16b..d05368544 100644 --- a/vp8/decoder/onyxd_int.h +++ b/vp8/decoder/onyxd_int.h @@ -119,6 +119,8 @@ typedef struct VP8D_COMP { void *decrypt_state; } VP8D_COMP; +void vp8cx_init_de_quantizer(VP8D_COMP *pbi); +void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd); int vp8_decode_frame(VP8D_COMP *cpi); int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf); diff --git a/vp8/decoder/threading.c b/vp8/decoder/threading.c index 5c77e7ca3..f5bdae493 100644 --- a/vp8/decoder/threading.c +++ b/vp8/decoder/threading.c @@ -37,8 +37,6 @@ memset((p), 0, (n) * sizeof(*(p))); \ } while (0) -void vp8_mb_init_dequantizer(VP8D_COMP *pbi, MACROBLOCKD *xd); - static void setup_decoding_thread_data(VP8D_COMP *pbi, MACROBLOCKD *xd, MB_ROW_DEC *mbrd, int count) { VP8_COMMON *const pc = &pbi->common;