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
4916e4f3
authored
Feb 08, 2022
by
Ian Baker
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Merge pull request #9924 from jruesga:cea708-decoder-honor-service-block-size
PiperOrigin-RevId: 426953267
parent
7e3416c5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
libraries/extractor/src/main/java/androidx/media3/extractor/text/cea/Cea708Decoder.java
libraries/extractor/src/main/java/androidx/media3/extractor/text/cea/Cea708Decoder.java
View file @
4916e4f3
...
@@ -329,7 +329,9 @@ public final class Cea708Decoder extends CeaDecoder {
...
@@ -329,7 +329,9 @@ public final class Cea708Decoder extends CeaDecoder {
// 8.10.4 for more details.
// 8.10.4 for more details.
boolean
cuesNeedUpdate
=
false
;
boolean
cuesNeedUpdate
=
false
;
while
(
serviceBlockPacket
.
bitsLeft
()
>
0
)
{
int
blockEndBitPosition
=
serviceBlockPacket
.
getPosition
()
+
(
blockSize
*
8
);
while
(
serviceBlockPacket
.
bitsLeft
()
>
0
&&
serviceBlockPacket
.
getPosition
()
<
blockEndBitPosition
)
{
int
command
=
serviceBlockPacket
.
readBits
(
8
);
int
command
=
serviceBlockPacket
.
readBits
(
8
);
if
(
command
!=
COMMAND_EXT1
)
{
if
(
command
!=
COMMAND_EXT1
)
{
if
(
command
<=
GROUP_C0_END
)
{
if
(
command
<=
GROUP_C0_END
)
{
...
...
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