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
dbd1184a
Commit
dbd1184a
authored
Jun 18, 2014
by
Adrian Grange
Browse files
Improve vp9_rb_bytes_read
Change-Id: I69eba120eb3d8ec43b5552451c8a9bd009390795
parent
c19046a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_read_bit_buffer.c
View file @
dbd1184a
...
...
@@ -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