Merge "Making vp9_initialize_dec() static."

This commit is contained in:
Dmitry Kovalev 2014-05-19 10:27:07 -07:00 committed by Gerrit Code Review
commit 5ac6d9778f
3 changed files with 2 additions and 6 deletions

View File

@ -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();

View File

@ -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);

View File

@ -231,8 +231,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 &&