summaryrefslogtreecommitdiff
path: root/vp8/decoder/treereader.h
diff options
context:
space:
mode:
authorJohann <johann.koenig@duck.com>2018-10-26 14:55:26 -0700
committerJohann <johann.koenig@duck.com>2018-10-26 14:55:26 -0700
commit17004c71bcd7ae7e6a65bd5b8e756fb2311accdc (patch)
treef9db2286820bacaed2039416279dcbffcf75592e /vp8/decoder/treereader.h
parenta4e70f1808df9ef309be62bb0c93e6ed7a9bc135 (diff)
downloadlibvpx-17004c71bcd7ae7e6a65bd5b8e756fb2311accdc.tar.gz
remove "register" keyword
This has been deprecated for a long time. c++17 is trying to recover the name. Change-Id: Iade6bebce03a50b76061695f9e634a107cd989cd
Diffstat (limited to 'vp8/decoder/treereader.h')
-rw-r--r--vp8/decoder/treereader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/decoder/treereader.h b/vp8/decoder/treereader.h
index 1e27f29fd..4bf938a74 100644
--- a/vp8/decoder/treereader.h
+++ b/vp8/decoder/treereader.h
@@ -30,7 +30,7 @@ typedef BOOL_DECODER vp8_reader;
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) {
}