mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-08-30 05:40:37 +00:00
Protect against a null pointer exception if setup() fails
This commit is contained in:
@@ -9,8 +9,10 @@ public class ConfigurableDecoderRenderer implements VideoDecoderRenderer {
|
||||
|
||||
@Override
|
||||
public void release() {
|
||||
if (decoderRenderer != null) {
|
||||
decoderRenderer.release();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setup(int width, int height, int redrawRate, Object renderTarget, int drFlags) {
|
||||
|
||||
Reference in New Issue
Block a user