mirror of
https://github.com/androidx/media.git
synced 2025-05-06 23:20:42 +08: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
@ -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…
x
Reference in New Issue
Block a user