shithub: libvpx

Download patch

ref: 44fe73ec37293184f80cf06b17754f11804aeb03
parent: e040c6c404923ee6da8b5ff0950f02c993747d7c
parent: 2e693eb80e705ea68e23eed19616d22b4778b45a
author: James Zern <[email protected]>
date: Tue Dec 8 20:38:09 EST 2015

Merge "vp8: fix loop filter level clamping"

--- a/vp8/common/vp8_loopfilter.c
+++ b/vp8/common/vp8_loopfilter.c
@@ -141,8 +141,8 @@
             else  /* Delta Value */
             {
                 lvl_seg += mbd->segment_feature_data[MB_LVL_ALT_LF][seg];
-                lvl_seg = (lvl_seg > 0) ? ((lvl_seg > 63) ? 63: lvl_seg) : 0;
             }
+            lvl_seg = (lvl_seg > 0) ? ((lvl_seg > 63) ? 63: lvl_seg) : 0;
         }
 
         if (!mbd->mode_ref_lf_delta_enabled)