Remove special ANS initialization handling
Change-Id: I5d5a93b27a42d591ff41ff23c007fc2954d2f9a7
diff --git a/aom_dsp/buf_ans.h b/aom_dsp/buf_ans.h
index 0768506..f84ff3a 100644
--- a/aom_dsp/buf_ans.h
+++ b/aom_dsp/buf_ans.h
@@ -46,6 +46,7 @@
#if ANS_MAX_SYMBOLS
int window_size;
#endif
+ int pos; // Dummy variable to store the output buffer after closing
};
// Allocate a buffered ANS coder to store size symbols.
@@ -54,7 +55,7 @@
// When ANS_MAX_SYMBOLS is turned off, size is merely an initial hint and the
// buffer will grow on demand
void aom_buf_ans_alloc(struct BufAnsCoder *c,
- struct aom_internal_error_info *error, int hint);
+ struct aom_internal_error_info *error);
void aom_buf_ans_free(struct BufAnsCoder *c);