shithub: libvpx

Download patch

ref: f3bea3de5b40b4b295f6296787e3048ee4349198
parent: 4cf68be17abad8738613f220b708a29a5288b0ff
author: hkuang <hkuang@google.com>
date: Wed Apr 1 13:11:35 EDT 2015

Remove unnecessary set postproc flags.

Change-Id: Iaf136969bc368a890f9671647576ee9d54eef03b

--- a/vp9/vp9_dx_iface.c
+++ b/vp9/vp9_dx_iface.c
@@ -462,7 +462,6 @@
 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;
 
@@ -546,9 +545,6 @@
     worker->had_error = 0;
     winterface->launch(worker);
   }
-
-  if (ctx->base.init_flags & VPX_CODEC_USE_POSTPROC)
-    set_ppflags(ctx, &flags);
 
   return VPX_CODEC_OK;
 }