[vlc-commits] input: fix warning

Felix Paul Kühne git at videolan.org
Fri May 16 22:34:56 CEST 2014


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri May 16 22:30:16 2014 +0200| [2fe9c763f001c2ae86d67ef419c69892a6559090] | committer: Felix Paul Kühne

input: fix warning

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

 include/vlc_input.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index c1cb17d..88bfe65 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -565,7 +565,7 @@ static inline int input_AddSubtitleOSD( input_thread_t *p_input, const char *psz
     vout_thread_t *p_vout = input_GetVout( p_input );
     if( p_vout )
     {
-        vout_OSDMessage(p_vout, SPU_DEFAULT_CHANNEL, _("Subtitle track added") );
+        vout_OSDMessage(p_vout, SPU_DEFAULT_CHANNEL, "%s", _("Subtitle track added") );
         vlc_object_release( (vlc_object_t *)p_vout );
     }
     return i_result;



More information about the vlc-commits mailing list