shithub: libvpx

Download patch

ref: 0eef1acbefe1eb935f6c757cfb62b24941a58b60
parent: 6ec2b85badc7b5e9e19e9da623b05cbdba197f1b
parent: 12eb2d02677a1f6eb556e594fb76acac994f0aa4
author: Adrian Grange <[email protected]>
date: Fri Aug 9 05:51:58 EDT 2013

Merge "Correct bug in loopfilter initialization"

--- a/vp9/common/vp9_loopfilter.c
+++ b/vp9/common/vp9_loopfilter.c
@@ -108,7 +108,7 @@
     if (!lf->mode_ref_delta_enabled) {
       // we could get rid of this if we assume that deltas are set to
       // zero when not in use; encoder always uses deltas
-      vpx_memset(lfi->lvl[seg_id][0], lvl_seg, 4 * 4);
+      vpx_memset(lfi->lvl[seg_id][0], lvl_seg, sizeof(lfi->lvl[seg_id][0]));
       continue;
     }