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
9592a8a4
authored
Sep 07, 2015
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix IFR parsing
parent
8c3f93d6
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/extractor/ts/H264Reader.java
library/src/main/java/com/google/android/exoplayer/extractor/ts/H264Reader.java
View file @
9592a8a4
...
...
@@ -265,7 +265,7 @@ import java.util.List;
}
/**
* Invoked to pass stream data. The data passed should not include
4 byte NAL unit prefixes
.
* Invoked to pass stream data. The data passed should not include
the 3 byte start code
.
*
* @param data Holds the data being passed.
* @param offset The offset of the data in {@code data}.
...
...
@@ -283,6 +283,7 @@ import java.util.List;
ifrLength
+=
readLength
;
scratchSliceType
.
reset
(
ifrData
,
ifrLength
);
scratchSliceType
.
skipBits
(
8
);
// first_mb_in_slice
int
len
=
scratchSliceType
.
peekExpGolombCodedNumLength
();
if
((
len
==
-
1
)
||
(
len
>
scratchSliceType
.
bitsLeft
()))
{
...
...
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