Diff between f49d9f751936ff8d62cf9286374d44f901a8adab and 7f20132c5494a6e8398a77d7429b5e5a4e0a2494
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/media.c | +3 | -0 | modified |
Full Patch
diff --git a/profiles/audio/media.c b/profiles/audio/media.c
index 69070bf..23d1561 100644
--- a/profiles/audio/media.c
+++ b/profiles/audio/media.c
@@ -1018,6 +1018,9 @@ static const char *get_player_name(void *user_data)
{
struct media_player *mp = user_data;
+ if (!mp->name)
+ return "Player";
+
return mp->name;
}