[vlc-devel] [PATCH] fix player function false return
Lyndon Brown
jnqnfe at gmail.com
Wed Sep 30 20:55:43 CEST 2020
preview:
From: Lyndon Brown <jnqnfe at gmail.com>
Date: Tue, 18 Jun 2019 04:57:06 +0100
Subject: player: fix false return
diff --git a/include/vlc_player.h b/include/vlc_player.h
index bec0dea9fe..601605de86 100644
--- a/include/vlc_player.h
+++ b/include/vlc_player.h
@@ -1853,7 +1853,7 @@ static inline void
vlc_player_ToggleSubtitle(vlc_player_t *player)
{
bool enabled = !vlc_player_IsSubtitleEnabled(player);
- return vlc_player_SetSubtitleEnabled(player, enabled);
+ vlc_player_SetSubtitleEnabled(player, enabled);
}
/**
More information about the vlc-devel
mailing list