projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
libvpx
/
source
/
libvpx
/
vp9
/
decoder
/
vp9_read_bit_buffer.c
diff --git
a/src/third_party/libvpx/source/libvpx/vp9/decoder/vp9_read_bit_buffer.c
b/src/third_party/libvpx/source/libvpx/vp9/decoder/vp9_read_bit_buffer.c
index
778a635
..
3eef728
100644
(file)
--- a/
src/third_party/libvpx/source/libvpx/vp9/decoder/vp9_read_bit_buffer.c
+++ b/
src/third_party/libvpx/source/libvpx/vp9/decoder/vp9_read_bit_buffer.c
@@
-10,7
+10,7
@@
#include "vp9/decoder/vp9_read_bit_buffer.h"
size_t vp9_rb_bytes_read(struct vp9_read_bit_buffer *rb) {
#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) {
}
int vp9_rb_read_bit(struct vp9_read_bit_buffer *rb) {