summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-01 13:18:49 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-01 13:18:49 +0000
commitf102ac7a8c62491761b7b3d32baa87dcb665f9ed (patch)
tree27ad6e8e197f81258631b4b86b3938c870e35a84 /libvo/vo_gl.c
parent5f684e1b32cc052edf33d8c0ff5ead106e98e680 (diff)
downloadmpv-f102ac7a8c62491761b7b3d32baa87dcb665f9ed.tar.bz2
mpv-f102ac7a8c62491761b7b3d32baa87dcb665f9ed.tar.xz
Fix function declarations to avoid casting function pointers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30164 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 51e5b0fb03..071fccebb2 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -1012,12 +1012,12 @@ static const opt_t subopts[] = {
{"scaled-osd", OPT_ARG_BOOL, &scaled_osd, NULL},
{"aspect", OPT_ARG_BOOL, &use_aspect, NULL},
{"ycbcr", OPT_ARG_BOOL, &use_ycbcr, NULL},
- {"slice-height", OPT_ARG_INT, &slice_height, (opt_test_f)int_non_neg},
- {"rectangle", OPT_ARG_INT, &use_rectangle,(opt_test_f)int_non_neg},
- {"yuv", OPT_ARG_INT, &use_yuv, (opt_test_f)int_non_neg},
+ {"slice-height", OPT_ARG_INT, &slice_height, int_non_neg},
+ {"rectangle", OPT_ARG_INT, &use_rectangle,int_non_neg},
+ {"yuv", OPT_ARG_INT, &use_yuv, int_non_neg},
{"colorspace", OPT_ARG_INT, &colorspace, valid_csp},
- {"lscale", OPT_ARG_INT, &lscale, (opt_test_f)int_non_neg},
- {"cscale", OPT_ARG_INT, &cscale, (opt_test_f)int_non_neg},
+ {"lscale", OPT_ARG_INT, &lscale, int_non_neg},
+ {"cscale", OPT_ARG_INT, &cscale, int_non_neg},
{"filter-strength", OPT_ARG_FLOAT, &filter_strength, NULL},
{"ati-hack", OPT_ARG_BOOL, &ati_hack, NULL},
{"force-pbo", OPT_ARG_BOOL, &force_pbo, NULL},