[MPlayer-cvslog] r38140 - trunk/libvo/vo_kva.c

komh subversion at mplayerhq.hu
Fri May 24 13:42:54 EEST 2019


Author: komh
Date: Fri May 24 13:42:53 2019
New Revision: 38140

Log:
kva: fix buffer overflow

Modified:
   trunk/libvo/vo_kva.c

Modified: trunk/libvo/vo_kva.c
==============================================================================
--- trunk/libvo/vo_kva.c	Tue May 21 21:21:41 2019	(r38139)
+++ trunk/libvo/vo_kva.c	Fri May 24 13:42:53 2019	(r38140)
@@ -608,7 +608,7 @@ static int preinit(const char *arg)
         {NULL,              0, NULL,      NULL}
     };
 
-    PCSZ pcszVideoModeStr[3] = {"DIVE", "WarpOverlay!", "SNAP", "VMAN"};
+    PCSZ pcszVideoModeStr[] = {"DIVE", "WarpOverlay!", "SNAP", "VMAN"};
 
     if (subopt_parse(arg, subopts) != 0)
         return -1;


More information about the MPlayer-cvslog mailing list