mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
FakeExtractorInput: Fix exception type
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124446331
This commit is contained in:
parent
b4746eddb3
commit
b206cff98c
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ public final class FakeExtractorInput implements ExtractorInput {
|
||||||
throw new EOFException();
|
throw new EOFException();
|
||||||
}
|
}
|
||||||
if (position + length > data.length) {
|
if (position + length > data.length) {
|
||||||
throw new IOException("Attempted to move past end of data: (" + position + " + "
|
throw new EOFException("Attempted to move past end of data: (" + position + " + "
|
||||||
+ length + ") > " + data.length);
|
+ length + ") > " + data.length);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue