Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e2ed741d
authored
Sep 16, 2015
by
souji
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
prevented excess loop, reading pes header
parent
5050913b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
library/src/main/java/com/google/android/exoplayer/util/ParsableBitArray.java
library/src/main/java/com/google/android/exoplayer/util/ParsableBitArray.java
View file @
e2ed741d
...
@@ -138,7 +138,8 @@ public final class ParsableBitArray {
...
@@ -138,7 +138,8 @@ public final class ParsableBitArray {
int
returnValue
=
0
;
int
returnValue
=
0
;
// While n >= 8, read whole bytes.
// While n >= 8, read whole bytes.
while
(
n
>=
8
)
{
int
numBytes
=
(
n
/
8
);
for
(
int
i
=
0
;
i
<
numBytes
;
i
++)
{
int
byteValue
;
int
byteValue
;
if
(
bitOffset
!=
0
)
{
if
(
bitOffset
!=
0
)
{
byteValue
=
((
data
[
byteOffset
]
&
0xFF
)
<<
bitOffset
)
byteValue
=
((
data
[
byteOffset
]
&
0xFF
)
<<
bitOffset
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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