]> git.sesse.net Git - vlc/commitdiff
RTMP: Fix a format-security warning
authorColin Guthrie <cguthrie@mandriva.org>
Sun, 24 Jan 2010 22:42:13 +0000 (22:42 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 25 Jan 2010 08:30:49 +0000 (09:30 +0100)
(cherry picked from commit 71c4bb2a2eafcb72c40d7e6f02eb0236e6e92fdb)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/access/rtmp/rtmp_amf_flv.c

index 374baba4b7df32a128095d2ad83c76411bd8611a..ff5673f33a30ff7422ea3e327abc8597820d8275 100644 (file)
@@ -391,7 +391,7 @@ write_rtmp( rtmp_control_thread_t *p_thread, uint8_t *buf,
     free( buf );
     if( ret != enclen )
     {
-        msg_Err( p_thread, errmsg );
+        msg_Err( p_thread, "%s", errmsg );
         return 0;
     }
     return 1;