shithub: libvpx

Download patch

ref: 0e06c8ff36c6fb6a27e3b39b307d6c35e940b71d
parent: 112789d4f26ef7b8ec4cb216bfe79b59fbc4a022
author: hkuang <[email protected]>
date: Thu Oct 9 11:12:12 EDT 2014

Remove unnecessary code.

Function will jump to error handler when ref buffer is corrupted.
So "xd->corrupted |= ref_buffer->buf->corrupted;" is useless.

Change-Id: I35353a0637ad0dbb682454e040ef69fa68280bfa

--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -397,7 +397,6 @@
                        "Block reference is corrupt");
   vp9_setup_pre_planes(xd, idx, ref_buffer->buf, mi_row, mi_col,
                        &ref_buffer->sf);
-  xd->corrupted |= ref_buffer->buf->corrupted;
 }
 
 static void decode_block(VP9_COMMON *const cm, MACROBLOCKD *const xd,