shithub: libvpx

Download patch

ref: 17004c71bcd7ae7e6a65bd5b8e756fb2311accdc
parent: a4e70f1808df9ef309be62bb0c93e6ed7a9bc135
author: Johann <johann.koenig@duck.com>
date: Fri Oct 26 10:55:26 EDT 2018

remove "register" keyword

This has been deprecated for a long time. c++17 is trying to recover the name.

Change-Id: Iade6bebce03a50b76061695f9e634a107cd989cd

--- a/md5_utils.c
+++ b/md5_utils.c
@@ -163,7 +163,7 @@
  */
 VPX_NO_UNSIGNED_OVERFLOW_CHECK void MD5Transform(UWORD32 buf[4],
                                                  UWORD32 const in[16]) {
-  register UWORD32 a, b, c, d;
+  UWORD32 a, b, c, d;
 
   a = buf[0];
   b = buf[1];
--- a/vp8/decoder/treereader.h
+++ b/vp8/decoder/treereader.h
@@ -30,7 +30,7 @@
 static INLINE int vp8_treed_read(
     vp8_reader *const r, /* !!! must return a 0 or 1 !!! */
     vp8_tree t, const vp8_prob *const p) {
-  register vp8_tree_index i = 0;
+  vp8_tree_index i = 0;
 
   while ((i = t[i + vp8_read(r, p[i >> 1])]) > 0) {
   }