Commit 39015ea2 authored by Dmitry Kovalev's avatar Dmitry Kovalev
Browse files

Making vp9_initialize_dec() static.

Change-Id: I831fe91dfadf4e89f5bbba6ab7a9917d8dd2ed55
parent 86094f22
......@@ -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 &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment