mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 18:55:12 +00:00
Catch IAE when video thumbnail extractor cannot instantiate a decoder.
This commit is contained in:
committed by
Cody Henthorne
parent
8ffad4cc6f
commit
b4ae13fe8a
@@ -97,7 +97,7 @@ final class VideoThumbnailsExtractor {
|
||||
|
||||
doExtract(extractor, decoder, outputSurface, outputWidthRotated, outputHeightRotated, duration, thumbnailCount, callback);
|
||||
}
|
||||
} catch (IOException | TranscodingException | MediaCodec.CodecException e) {
|
||||
} catch (IllegalArgumentException | IOException | TranscodingException | MediaCodec.CodecException e) {
|
||||
Log.w(TAG, e);
|
||||
callback.failed();
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user