mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-22 07:48:52 -05:00
Don't require minimum file size when using MediaInfo on small files (e.g. image files)
This commit is contained in:
parent
d58e5426c7
commit
d0598ea9b9
@ -42,7 +42,7 @@ public class MediaInfo implements MediaCharacteristics {
|
||||
}
|
||||
|
||||
public synchronized MediaInfo open(File file) throws IOException, IllegalArgumentException {
|
||||
if (!file.isFile() || file.length() < 64 * 1024) {
|
||||
if (!file.isFile()) {
|
||||
throw new IllegalArgumentException("Invalid media file: " + file);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user