shithub: libvpx

Download patch

ref: 971c5a16a935afb5596215e3c33f66fa1c987884
parent: fa5d54f937126b0bd8770702f9ffdac46c323afa
author: James Zern <[email protected]>
date: Thu May 19 15:19:19 EDT 2016

vp8/error_concealment: remove shift of negative value

fixes:
shifting a negative signed value is undefined [-Wshift-negative-value]

Change-Id: I3a55f2dac7c51c0e264d40081ffce98e2abacb89

--- a/vp8/decoder/error_concealment.c
+++ b/vp8/decoder/error_concealment.c
@@ -194,7 +194,7 @@
         return;
     }
 
-    if (new_row <= (-4 << 3) || new_col <= (-4 << 3))
+    if (new_row <= -32 || new_col <= -32)
     {
         /* outside the frame */
         return;