diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index e085568fa..9d02c199b 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -2860,7 +2860,7 @@ void CMoviePlayerGui::selectSubtitle() APIDSelector.addItem(sc); APIDSelector.addItem(GenericMenuSeparatorLine); - char cnt[5]; + char cnt[6]; unsigned int count; for (count = 0; count < numsubs; count++) { bool enabled = sub_supported[count] && (currentspid != spids[count]);