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
98b487eb
authored
Jan 23, 2022
by
Dustin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Removed unused StreamDataBox
parent
b90333af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
18 deletions
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/BoxFactory.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/StreamDataBox.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/BoxFactory.java
View file @
98b487eb
...
@@ -6,7 +6,7 @@ import java.nio.ByteBuffer;
...
@@ -6,7 +6,7 @@ import java.nio.ByteBuffer;
import
java.util.Arrays
;
import
java.util.Arrays
;
public
class
BoxFactory
{
public
class
BoxFactory
{
static
int
[]
types
=
{
AviHeaderBox
.
AVIH
,
StreamHeaderBox
.
STRH
,
StreamFormatBox
.
STRF
,
StreamDataBox
.
STRD
};
static
int
[]
types
=
{
AviHeaderBox
.
AVIH
,
StreamHeaderBox
.
STRH
,
StreamFormatBox
.
STRF
};
static
{
static
{
Arrays
.
sort
(
types
);
Arrays
.
sort
(
types
);
}
}
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/StreamDataBox.java
deleted
100644 → 0
View file @
b90333af
package
com
.
google
.
android
.
exoplayer2
.
extractor
.
avi
;
import
java.nio.ByteBuffer
;
public
class
StreamDataBox
extends
ResidentBox
{
//Stream CODEC data
static
final
int
STRD
=
's'
|
(
't'
<<
8
)
|
(
'r'
<<
16
)
|
(
'd'
<<
24
);
StreamDataBox
(
int
type
,
int
size
,
ByteBuffer
byteBuffer
)
{
super
(
type
,
size
,
byteBuffer
);
}
byte
[]
getData
()
{
byte
[]
data
=
new
byte
[
byteBuffer
.
capacity
()];
System
.
arraycopy
(
byteBuffer
.
array
(),
0
,
data
,
0
,
data
.
length
);
return
data
;
}
}
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