shithub: libvpx

Download patch

ref: 24196dd9873df87b5c2dd1de509dc44455741ea9
parent: a53d5a4c442a84cacbd8225fac72db3789b3e10c
author: James Berry <jamesberry@google.com>
date: Fri Dec 16 12:43:55 EST 2011

fix: make sure ss_err is large enough

increase size of ss_err by one to make
sure there is room for 64 elements.

Change-Id: I355cb8c499aa7da3b9675f2326a8d25a74bb88d2

--- a/vp8/encoder/picklpf.c
+++ b/vp8/encoder/picklpf.c
@@ -289,7 +289,7 @@
 
     int Bias = 0;                       // Bias against raising loop filter and in favor of lowering it
 
-    int ss_err[MAX_LOOP_FILTER];
+    int ss_err[MAX_LOOP_FILTER + 1];
 
     YV12_BUFFER_CONFIG * saved_frame = cm->frame_to_show;
 
--