Skip to content

Commit

Permalink
Minor stylistic tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ojw28 committed Nov 20, 2014
1 parent d506d76 commit 2a832fd
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -737,11 +737,11 @@ private boolean drainOutputBuffer(long positionUs, long elapsedRealtimeUs)
return false;
}

int decodeOnlyIdx = getDecodeOnlyIndex(outputBufferInfo.presentationTimeUs);
int decodeOnlyIndex = getDecodeOnlyIndex(outputBufferInfo.presentationTimeUs);
if (processOutputBuffer(positionUs, elapsedRealtimeUs, codec, outputBuffers[outputIndex],
outputBufferInfo, outputIndex, decodeOnlyIdx >= 0)) {
if (decodeOnlyIdx >= 0) {
decodeOnlyPresentationTimestamps.remove(decodeOnlyIdx);
outputBufferInfo, outputIndex, decodeOnlyIndex != -1)) {
if (decodeOnlyIndex != -1) {
decodeOnlyPresentationTimestamps.remove(decodeOnlyIndex);
} else {
currentPositionUs = outputBufferInfo.presentationTimeUs;
}
Expand Down Expand Up @@ -794,4 +794,5 @@ private int getDecodeOnlyIndex(long presentationTimeUs) {
}
return -1;
}

}

0 comments on commit 2a832fd

Please sign in to comment.