Commit b1054141 authored by James Zern's avatar James Zern

vp9_decodeframe: simplify init_read_bit_buffer signature

Change-Id: I342075eb5a4ba2a85d36d47ae52d1f3476039e31
parent 92146eb8
...@@ -1926,12 +1926,12 @@ static void debug_check_frame_counts(const VP9_COMMON *const cm) { ...@@ -1926,12 +1926,12 @@ static void debug_check_frame_counts(const VP9_COMMON *const cm) {
} }
#endif // NDEBUG #endif // NDEBUG
static struct vp9_read_bit_buffer* init_read_bit_buffer( static struct vp9_read_bit_buffer *init_read_bit_buffer(
VP9Decoder *pbi, VP9Decoder *pbi,
struct vp9_read_bit_buffer *rb, struct vp9_read_bit_buffer *rb,
const uint8_t *data, const uint8_t *data,
const uint8_t *data_end, const uint8_t *data_end,
uint8_t *clear_data /* buffer size MAX_VP9_HEADER_SIZE */) { uint8_t clear_data[MAX_VP9_HEADER_SIZE]) {
rb->bit_offset = 0; rb->bit_offset = 0;
rb->error_handler = error_handler; rb->error_handler = error_handler;
rb->error_handler_data = &pbi->common; rb->error_handler_data = &pbi->common;
......
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