mirror of
https://github.com/androidx/media.git
synced 2025-05-08 08:00:49 +08:00
Rmeove unused variable in Mp4Extractor and HeifExtractor.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=181135589
This commit is contained in:
parent
4867748c50
commit
c991b80c85
@ -370,7 +370,6 @@ public final class Mp4Extractor implements Extractor, SeekMap {
|
||||
int firstVideoTrackIndex = C.INDEX_UNSET;
|
||||
long durationUs = C.TIME_UNSET;
|
||||
List<Mp4Track> tracks = new ArrayList<>();
|
||||
long earliestSampleOffset = Long.MAX_VALUE;
|
||||
|
||||
Metadata metadata = null;
|
||||
GaplessInfoHolder gaplessInfoHolder = new GaplessInfoHolder();
|
||||
@ -423,11 +422,6 @@ public final class Mp4Extractor implements Extractor, SeekMap {
|
||||
firstVideoTrackIndex = tracks.size();
|
||||
}
|
||||
tracks.add(mp4Track);
|
||||
|
||||
long firstSampleOffset = trackSampleTable.offsets[0];
|
||||
if (firstSampleOffset < earliestSampleOffset) {
|
||||
earliestSampleOffset = firstSampleOffset;
|
||||
}
|
||||
}
|
||||
this.firstVideoTrackIndex = firstVideoTrackIndex;
|
||||
this.durationUs = durationUs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user