Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
99d648b9
Commit
99d648b9
authored
Jun 18, 2014
by
Adrian Grange
Committed by
Gerrit Code Review
Jun 18, 2014
Browse files
Merge "Improve vp9_rb_bytes_read"
parents
74ec6fbe
dbd1184a
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_read_bit_buffer.c
View file @
99d648b9
...
...
@@ -10,7 +10,7 @@
#include
"vp9/decoder/vp9_read_bit_buffer.h"
size_t
vp9_rb_bytes_read
(
struct
vp9_read_bit_buffer
*
rb
)
{
return
rb
->
bit_offset
/
CHAR_BIT
+
(
rb
->
bit_offset
%
CHAR_BIT
>
0
)
;
return
(
rb
->
bit_offset
+
CHAR_BIT
-
1
)
/
CHAR_BIT
;
}
int
vp9_rb_read_bit
(
struct
vp9_read_bit_buffer
*
rb
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment