From: hkuang Date: Thu, 2 Apr 2015 00:11:35 +0000 (-0700) Subject: Remove unnecessary set postproc flags. X-Git-Tag: v1.5.0~772^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3bea3de5b40b4b295f6296787e3048ee4349198;p=libvpx Remove unnecessary set postproc flags. Change-Id: Iaf136969bc368a890f9671647576ee9d54eef03b --- diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c index c2f782bab..e9c58cc38 100644 --- a/vp9/vp9_dx_iface.c +++ b/vp9/vp9_dx_iface.c @@ -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, const uint8_t **data, unsigned int data_sz, void *user_priv, int64_t deadline) { - vp9_ppflags_t flags = {0, 0, 0}; const VP9WorkerInterface *const winterface = vp9_get_worker_interface(); (void)deadline; @@ -547,9 +546,6 @@ static vpx_codec_err_t decode_one(vpx_codec_alg_priv_t *ctx, winterface->launch(worker); } - if (ctx->base.init_flags & VPX_CODEC_USE_POSTPROC) - set_ppflags(ctx, &flags); - return VPX_CODEC_OK; }