Commit e246970a by Oliver Woodman

Minor style tweaks.

parent bb9e34f5
......@@ -91,12 +91,12 @@ public final class FrameworkSampleSource implements SampleSource {
public boolean prepare() throws IOException {
if (!prepared) {
extractor = new MediaExtractor();
if (context != null)
if (context != null) {
extractor.setDataSource(context, uri, headers);
else
} else {
extractor.setDataSource(fileDescriptor, fileDescriptorOffset, fileDescriptorLength);
}
trackStates = new int[extractor.getTrackCount()];
pendingDiscontinuities = new boolean[trackStates.length];
trackInfos = new TrackInfo[trackStates.length];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment