summaryrefslogtreecommitdiff
path: root/vp10/decoder/decodeframe.c
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2015-08-20 09:51:08 -0700
committerJingning Han <jingning@google.com>2015-08-20 09:52:52 -0700
commitc455919f03d13703a90eb356428abd6a7f3b3ceb (patch)
treeff7593fbe12ba00969ee9cfb575e3b806732223d /vp10/decoder/decodeframe.c
parent49f6ff11032df0d6696da8cf544d0292e185d00c (diff)
downloadlibvpx-c455919f03d13703a90eb356428abd6a7f3b3ceb.tar
libvpx-c455919f03d13703a90eb356428abd6a7f3b3ceb.tar.gz
libvpx-c455919f03d13703a90eb356428abd6a7f3b3ceb.tar.bz2
libvpx-c455919f03d13703a90eb356428abd6a7f3b3ceb.zip
Replace MAX_REF_LF_DELTAS with MAX_REF_FRAMES
The macro MAX_REF_LF_DELTAS is repeatedly defined. Merge its use cases with MAX_REF_FRAMES. Change-Id: I71c4634fb5feae78ce6f9bf99074f45ed7f68b73
Diffstat (limited to 'vp10/decoder/decodeframe.c')
-rw-r--r--vp10/decoder/decodeframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp10/decoder/decodeframe.c b/vp10/decoder/decodeframe.c
index 67f6909e4..942a07a11 100644
--- a/vp10/decoder/decodeframe.c
+++ b/vp10/decoder/decodeframe.c
@@ -1112,7 +1112,7 @@ static void setup_loopfilter(struct loopfilter *lf,
if (lf->mode_ref_delta_update) {
int i;
- for (i = 0; i < MAX_REF_LF_DELTAS; i++)
+ for (i = 0; i < MAX_REF_FRAMES; i++)
if (vpx_rb_read_bit(rb))
lf->ref_deltas[i] = vpx_rb_read_signed_literal(rb, 6);