[vlc-commits] player: fix break mismatch

Thomas Guillem git at videolan.org
Tue Jun 4 09:07:10 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jun  4 09:06:21 2019 +0200| [c40b3855f02b13322db09735e7f6adcd1e1d5720] | committer: Thomas Guillem

player: fix break mismatch

Due to a failing internal conflict.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c40b3855f02b13322db09735e7f6adcd1e1d5720
---

 src/input/player.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/player.c b/src/input/player.c
index 7ae7d8ca95..54a39bed87 100644
--- a/src/input/player.c
+++ b/src/input/player.c
@@ -1472,6 +1472,7 @@ vlc_player_SelectCategoryLanguage(vlc_player_t *player,
             break;
         case SPU_ES:
             var_SetString(player, "sub-language", lang);
+            break;
         default:
             vlc_assert_unreachable();
     }
@@ -1486,7 +1487,6 @@ vlc_player_GetCategoryLanguage(vlc_player_t *player,
     {
         case AUDIO_ES:
             return var_GetString(player, "audio-language");
-            break;
         case SPU_ES:
             return var_GetString(player, "sub-language");
         default:



More information about the vlc-commits mailing list