mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-20 15:27:18 +00:00
Fix typo in boolean logic
This commit is contained in:
1 parent
a2b2131beb
commit
af784cf79b
1 file changed
+1
-1
@@ -712,7 +712,7 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer implements C
|
||||
LimeLog.info("Decoder flush promoted to restart for recoverable CodecException");
|
||||
e.printStackTrace();
|
||||
}
|
||||
else if (codecRecoveryType.get() != CR_RECOVERY_TYPE_RESET || codecRecoveryType.get() != CR_RECOVERY_TYPE_RESTART) {
|
||||
else if (codecRecoveryType.get() != CR_RECOVERY_TYPE_RESET && codecRecoveryType.get() != CR_RECOVERY_TYPE_RESTART) {
|
||||
throw new IllegalStateException("Unexpected codec recovery type: " + codecRecoveryType.get());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user