changeset 21057:63349f025c17

Fix printf format/argument count mismatch in mp_property_video
author uau
date Sun, 19 Nov 2006 18:08:03 +0000
parents d2d209f455fc
children 1ed61a0494c4
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sun Nov 19 17:55:56 2006 +0000
+++ b/mplayer.c	Sun Nov 19 18:08:03 2006 +0000
@@ -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;