Attempt to fix image decoder issue
This commit is contained in:
parent
947efe58a5
commit
b3ab8895e3
@ -62,8 +62,8 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti
|
||||
}
|
||||
|
||||
private fun isApplicable(source: BufferedSource): Boolean {
|
||||
val type = source.peek().inputStream().use {
|
||||
// SY -->
|
||||
// SY -->
|
||||
val type = source.peek().inputStream().buffered().use {
|
||||
if (CbzCrypto.detectCoverImageArchive(it)) return true
|
||||
// SY <--
|
||||
ImageUtil.findImageType(it)
|
||||
|
Loading…
x
Reference in New Issue
Block a user