Commit 56c9c3bf authored by Alex Converse's avatar Alex Converse
Browse files

Fix ANS build.

Add a stub for the missing tell method.

Change-Id: Ifd9eb7a9d7ad9da15aaa1393d66b1b53d6c7ca65
parent 5030fa58
...@@ -80,7 +80,11 @@ static INLINE int aom_reader_has_error(aom_reader *r) { ...@@ -80,7 +80,11 @@ static INLINE int aom_reader_has_error(aom_reader *r) {
} }
static INLINE ptrdiff_t aom_reader_tell(const aom_reader *r) { static INLINE ptrdiff_t aom_reader_tell(const aom_reader *r) {
#if CONFIG_DAALA_EC #if CONFIG_ANS
(void)r;
assert(0 && "aom_reader_tell() is unimplemented for ANS");
return 0;
#elif CONFIG_DAALA_EC
return aom_daala_reader_tell(r); return aom_daala_reader_tell(r);
#else #else
return aom_dk_reader_tell(r); return aom_dk_reader_tell(r);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment