aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-27 17:53:35 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-27 17:53:35 +0000
commit3bcc77bea7c3e8650a767b74921655cbda5b34a0 (patch)
treea7742412274065db1a181e40f85b1873f43fdad3 /libvo
parent949880a05613ae09dee0d895342e60d6e02ab354 (diff)
Fix wrong calculation of nbooleans that causes a crash on 64 bit systems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24247 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_aa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_aa.c b/libvo/vo_aa.c
index 761805bfd6..e0fac31a0a 100644
--- a/libvo/vo_aa.c
+++ b/libvo/vo_aa.c
@@ -584,7 +584,7 @@ static int parse_suboptions(const char *arg) {
"-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;