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
d8746c3d
authored
Feb 21, 2017
by
Julian Cable
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
remove unneeded local variable
parent
b0c39a12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
library/src/main/java/com/google/android/exoplayer2/text/SubtitleDecoderFactory.java
library/src/main/java/com/google/android/exoplayer2/text/SubtitleDecoderFactory.java
View file @
d8746c3d
...
...
@@ -80,9 +80,8 @@ public interface SubtitleDecoderFactory {
}
if
(
format
.
sampleMimeType
.
equals
(
MimeTypes
.
TEXT_SSA
))
{
byte
[]
header
=
format
.
initializationData
.
get
(
1
);
String
dlgfmt
=
new
String
(
format
.
initializationData
.
get
(
0
),
"UTF-8"
);
return
clazz
.
asSubclass
(
SubtitleDecoder
.
class
).
getConstructor
(
byte
[].
class
,
String
.
class
)
.
newInstance
(
header
,
dlgfmt
);
.
newInstance
(
header
,
new
String
(
format
.
initializationData
.
get
(
0
),
"UTF-8"
)
);
}
else
if
(
format
.
sampleMimeType
.
equals
(
MimeTypes
.
APPLICATION_CEA608
)
||
format
.
sampleMimeType
.
equals
(
MimeTypes
.
APPLICATION_MP4CEA608
))
{
...
...
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