]> granicus.if.org Git - libvpx/commitdiff
Remove unnecessary set postproc flags.
authorhkuang <hkuang@google.com>
Thu, 2 Apr 2015 00:11:35 +0000 (17:11 -0700)
committerhkuang <hkuang@google.com>
Thu, 2 Apr 2015 00:11:35 +0000 (17:11 -0700)
Change-Id: Iaf136969bc368a890f9671647576ee9d54eef03b

vp9/vp9_dx_iface.c

index c2f782babead32bb6d3c2302c049f5ed988bede2..e9c58cc3837be2b6517be22a1fec5d1f72595d3f 100644 (file)
@@ -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;
 }