summaryrefslogtreecommitdiffstats
path: root/third_party/aom/aom_dsp/daalaboolreader.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/aom_dsp/daalaboolreader.c')
-rw-r--r--third_party/aom/aom_dsp/daalaboolreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/aom/aom_dsp/daalaboolreader.c b/third_party/aom/aom_dsp/daalaboolreader.c
index 0fc7b14a5..c6e3ac82d 100644
--- a/third_party/aom/aom_dsp/daalaboolreader.c
+++ b/third_party/aom/aom_dsp/daalaboolreader.c
@@ -17,7 +17,7 @@ int aom_daala_reader_init(daala_reader *r, const uint8_t *buffer, int size) {
}
r->buffer_end = buffer + size;
r->buffer = buffer;
- od_ec_dec_init(&r->ec, buffer, size - 1);
+ od_ec_dec_init(&r->ec, buffer, size);
#if CONFIG_ACCOUNTING
r->accounting = NULL;
#endif