mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-17 14:21:08 +00:00
Fix typo in boolean logic
This commit is contained in:
@@ -712,7 +712,7 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer implements C
|
|||||||
LimeLog.info("Decoder flush promoted to restart for recoverable CodecException");
|
LimeLog.info("Decoder flush promoted to restart for recoverable CodecException");
|
||||||
e.printStackTrace();
|
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());
|
throw new IllegalStateException("Unexpected codec recovery type: " + codecRecoveryType.get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user