shithub: libvpx

Download patch

ref: 0678104164fc0b181c2ab36714a82d9a11950335
parent: e755b88a7fb78b9eb91fc72ab2dbd903c3666867
parent: 272e030f70712cf67d93d360333136102c2159fa
author: hkuang <[email protected]>
date: Fri Apr 4 11:32:14 EDT 2014

Merge "Code clean up."

--- a/vp9/decoder/vp9_decoder.c
+++ b/vp9/decoder/vp9_decoder.c
@@ -422,19 +422,12 @@
 #if CONFIG_VP9_POSTPROC
   ret = vp9_post_proc_frame(&pbi->common, sd, flags);
 #else
-
-  if (pbi->common.frame_to_show) {
     *sd = *pbi->common.frame_to_show;
     sd->y_width = pbi->common.width;
     sd->y_height = pbi->common.height;
     sd->uv_width = sd->y_width >> pbi->common.subsampling_x;
     sd->uv_height = sd->y_height >> pbi->common.subsampling_y;
-
     ret = 0;
-  } else {
-    ret = -1;
-  }
-
 #endif /*!CONFIG_POSTPROC*/
   vp9_clear_system_state();
   return ret;