media/libvpx/bug696390.patch
author Gregory Szorc <gps@mozilla.com>
Sun, 19 May 2013 13:19:00 -0700
changeset 143872 0e6f9a78972782caf76e629008b061aa7ee18c1b
parent 80989 bc3fe56d732db18c539cdc98e77c79a4cf0a65e0
permissions -rw-r--r--
Bug 873809 - Proper dependencies under pymake; r=khuey

diff --git a/media/libvpx/vp8/decoder/decodemv.c b/media/libvpx/vp8/decoder/decodemv.c
--- a/media/libvpx/vp8/decoder/decodemv.c
+++ b/media/libvpx/vp8/decoder/decodemv.c
@@ -361,17 +361,17 @@ static void read_mb_modes_mv(VP8D_COMP *
   #ifdef VPX_MODE_COUNT
                     vp8_mv_cont_count[mv_contz][2]++;
   #endif
                     break;
                 default:
                     break;
                 }
 
-                mbmi->need_to_clamp_mvs = vp8_check_mv_bounds(&blockmv,
+                mbmi->need_to_clamp_mvs |= vp8_check_mv_bounds(&blockmv,
                                                           mb_to_left_edge,
                                                           mb_to_right_edge,
                                                           mb_to_top_edge,
                                                           mb_to_bottom_edge);
 
                 {
                     /* Fill (uniform) modes, mvs of jth subset.
                      Must do it here because ensuing subsets can