[MPlayer-cvslog] r24247 - trunk/libvo/vo_aa.c

reimar subversion at mplayerhq.hu
Mon Aug 27 19:53:35 CEST 2007


Author: reimar
Date: Mon Aug 27 19:53:35 2007
New Revision: 24247

Log:
Fix wrong calculation of nbooleans that causes a crash on 64 bit systems


Modified:
   trunk/libvo/vo_aa.c

Modified: trunk/libvo/vo_aa.c
==============================================================================
--- trunk/libvo/vo_aa.c	(original)
+++ trunk/libvo/vo_aa.c	Mon Aug 27 19:53:35 2007
@@ -584,7 +584,7 @@ static int parse_suboptions(const char *
         "-noboldfont", "-noinverse", "-noextended", "-noeight", "-nodither",
         "-nofloyd_steinberg", "-noerror_distribution"};
     const int nstrings = sizeof(strings_list) / sizeof(char*);
-    const int nbooleans = sizeof(booleans_list) / sizeof(int);
+    const int nbooleans = sizeof(booleans_list) / sizeof(char*);
     const int nextra_opts = sizeof(extra_opts) / sizeof(opt_t);
     const int nsubopts = nstrings + nbooleans + nextra_opts;
     int i, retval = 0;



More information about the MPlayer-cvslog mailing list