Commit 3b251037 authored by hkuang's avatar hkuang Committed by Gerrit Code Review
Browse files

Merge "Remove unnecessary set postproc flags."

parents 2f693be8 f3bea3de
...@@ -462,7 +462,6 @@ static INLINE void check_resync(vpx_codec_alg_priv_t *const ctx, ...@@ -462,7 +462,6 @@ static INLINE void check_resync(vpx_codec_alg_priv_t *const ctx,
static vpx_codec_err_t decode_one(vpx_codec_alg_priv_t *ctx, static vpx_codec_err_t decode_one(vpx_codec_alg_priv_t *ctx,
const uint8_t **data, unsigned int data_sz, const uint8_t **data, unsigned int data_sz,
void *user_priv, int64_t deadline) { void *user_priv, int64_t deadline) {
vp9_ppflags_t flags = {0, 0, 0};
const VP9WorkerInterface *const winterface = vp9_get_worker_interface(); const VP9WorkerInterface *const winterface = vp9_get_worker_interface();
(void)deadline; (void)deadline;
...@@ -547,9 +546,6 @@ static vpx_codec_err_t decode_one(vpx_codec_alg_priv_t *ctx, ...@@ -547,9 +546,6 @@ static vpx_codec_err_t decode_one(vpx_codec_alg_priv_t *ctx,
winterface->launch(worker); winterface->launch(worker);
} }
if (ctx->base.init_flags & VPX_CODEC_USE_POSTPROC)
set_ppflags(ctx, &flags);
return VPX_CODEC_OK; return VPX_CODEC_OK;
} }
......
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