mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix lint in FlacExtractor
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=139064912
This commit is contained in:
parent
bcc6c9ef43
commit
6d5d054b45
1 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ public final class FlacExtractor implements Extractor {
|
|||
if (streamInfo == null) {
|
||||
throw new IOException("Metadata decoding failed");
|
||||
}
|
||||
} catch (IOException e){
|
||||
} catch (IOException e) {
|
||||
decoderJni.reset(0);
|
||||
input.setRetryPosition(0, e);
|
||||
throw e; // never executes
|
||||
|
|
@ -137,7 +137,7 @@ public final class FlacExtractor implements Extractor {
|
|||
int size;
|
||||
try {
|
||||
size = decoderJni.decodeSample(outputByteBuffer);
|
||||
} catch (IOException e){
|
||||
} catch (IOException e) {
|
||||
if (lastDecodePosition >= 0) {
|
||||
decoderJni.reset(lastDecodePosition);
|
||||
input.setRetryPosition(lastDecodePosition, e);
|
||||
|
|
|
|||
Loading…
Reference in a new issue