Making vp9_initialize_dec() static.
Change-Id: I831fe91dfadf4e89f5bbba6ab7a9917d8dd2ed55
This commit is contained in:
parent
86094f22ba
commit
39015ea200
@ -32,7 +32,7 @@
|
||||
#include "vp9/decoder/vp9_detokenize.h"
|
||||
#include "vp9/decoder/vp9_dthread.h"
|
||||
|
||||
void vp9_initialize_dec() {
|
||||
static void initialize_dec() {
|
||||
static int init_done = 0;
|
||||
|
||||
if (!init_done) {
|
||||
@ -58,7 +58,7 @@ VP9Decoder *vp9_decoder_create() {
|
||||
}
|
||||
|
||||
cm->error.setjmp = 1;
|
||||
vp9_initialize_dec();
|
||||
initialize_dec();
|
||||
|
||||
vp9_rtcd();
|
||||
|
||||
|
@ -53,8 +53,6 @@ typedef struct VP9Decoder {
|
||||
int inv_tile_order;
|
||||
} VP9Decoder;
|
||||
|
||||
void vp9_initialize_dec();
|
||||
|
||||
int vp9_receive_compressed_data(struct VP9Decoder *pbi,
|
||||
size_t size, const uint8_t **dest,
|
||||
int64_t time_stamp);
|
||||
|
@ -252,8 +252,6 @@ static void init_decoder(vpx_codec_alg_priv_t *ctx) {
|
||||
ctx->pbi->max_threads = ctx->cfg.threads;
|
||||
ctx->pbi->inv_tile_order = ctx->invert_tile_order;
|
||||
|
||||
vp9_initialize_dec();
|
||||
|
||||
// If postprocessing was enabled by the application and a
|
||||
// configuration has not been provided, default it.
|
||||
if (!ctx->postproc_cfg_set &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user