[MPlayer-cvslog] r21073 - trunk/mplayer.c

uau subversion at mplayerhq.hu
Sun Nov 19 19:08:03 CET 2006


Author: uau
Date: Sun Nov 19 19:08:03 2006
New Revision: 21073

Modified:
   trunk/mplayer.c

Log:
Fix printf format/argument count mismatch in mp_property_video


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Sun Nov 19 19:08:03 2006
@@ -1874,7 +1874,7 @@
         else {
             char lang[40] = MSGTR_Unknown;
             *(char**)arg = malloc(64);
-            snprintf(*(char**)arg, 64, "(%d)", video_id, lang);
+            snprintf(*(char**)arg, 64, "(%d) %s", video_id, lang);
         }
         return M_PROPERTY_OK;
 



More information about the MPlayer-cvslog mailing list