Commit Graph

16 Commits

Author SHA1 Message Date
reimar 92cd6dc3e9 Simplify range-checking functions for subopt parsing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30165 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 13:23:16 +00:00
reimar f102ac7a8c Fix function declarations to avoid casting function pointers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30164 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 13:18:49 +00:00
reynaldo 0e5e94beba Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29294 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 02:43:03 +00:00
reimar 7e253f0171 Get rid of the "set" member of the subopt-parser struct, it made
it impossible to make the those struct variables const.
Also it is not really useful, and wastes space.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28862 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 20:41:02 +00:00
diego e1547563a9 cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-21 10:05:46 +00:00
reynaldo 58ed2c3fe0 marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-15 16:03:12 +00:00
reimar 9087410ec7 1l, strtof is only C99, strtod is ANSI C, so use that instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16726 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-11 08:50:32 +00:00
joey 326361b18e support float arguments in subopt helper.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16721 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-10 12:56:44 +00:00
reimar a949fa9b66 Allow string escaping via "".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16610 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 08:52:40 +00:00
reimar 679f307f01 helper functions for comparing strarg_t "strings".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15735 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 09:08:07 +00:00
reimar 1d0e6ef7cc support lenght-quoting of strings in subopt parser.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15734 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 09:03:11 +00:00
al 546e6316ac Move generic tests to a common place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14737 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-19 20:14:00 +00:00
reimar cd4875f414 100l, missing () around *valp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14573 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 12:49:11 +00:00
reimar ca8fc9929b New suboption type: malloc'ed, zero terminated string
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14539 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-19 17:10:20 +00:00
reimar 0eb381415d fix string argument parsing (e.g. one char strings were not accepted)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14295 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-01 19:03:22 +00:00
al 672dc76569 suboption parser for vo and ao modules
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14282 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 11:11:24 +00:00