mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-02 11:46:55 +01:00
Merge pull request #2978 from orionlee/bugfix_crash_playback_2947
Fix app crash in some error cases with ExoPlayer
This commit is contained in:
commit
45253d16d2
@ -991,7 +991,7 @@ public class LocalPSMP extends PlaybackServiceMediaPlayer {
|
||||
|
||||
private final MediaPlayer.OnErrorListener audioErrorListener =
|
||||
(mp, what, extra) -> {
|
||||
if(mp.canFallback()) {
|
||||
if(mp != null && mp.canFallback()) {
|
||||
mp.fallback();
|
||||
return true;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user