[vlc-commits] Fix crash on input stream info containing %
Sébastien Escudier
git at videolan.org
Tue Jun 10 14:54:53 CEST 2014
vlc | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Tue Jun 10 14:50:38 2014 +0200| [186b201fcf4b25e6c23d839b0d40ea6940b6506b] | committer: Sébastien Escudier
Fix crash on input stream info containing %
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=186b201fcf4b25e6c23d839b0d40ea6940b6506b
---
src/input/es_out.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index bda051c..d5ac33b 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -1304,7 +1304,7 @@ static void EsOutProgramEpg( es_out_t *out, int i_group, const vlc_epg_t *p_epg
if( p_pgrm->psz_now_playing )
{
input_Control( p_input, INPUT_ADD_INFO, psz_cat,
- vlc_meta_TypeToLocalizedString(vlc_meta_NowPlaying),
+ vlc_meta_TypeToLocalizedString(vlc_meta_NowPlaying), "%s",
p_pgrm->psz_now_playing );
}
else
More information about the vlc-commits
mailing list