diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-24 07:11:57 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-24 07:11:57 +0000 |
commit | e5ab09bb64448e8d60f081891fb85d742c83c9a0 (patch) | |
tree | 1c6bda6d0253cc0bf49516771c68a63371286acd /cfg-common.h | |
parent | ac8d43dbed744f4e541184fe43e9c2a4d2ec6643 (diff) | |
download | mpv-e5ab09bb64448e8d60f081891fb85d742c83c9a0.tar.bz2 mpv-e5ab09bb64448e8d60f081891fb85d742c83c9a0.tar.xz |
Move parsing of the -ss option to the option code.
Also fixes a memory leak of the parameter string.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22330 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r-- | cfg-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg-common.h b/cfg-common.h index caf7248fd2..ab01146d92 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -93,7 +93,7 @@ // seek to byte/seconds position {"sb", &seek_to_byte, CONF_TYPE_POSITION, CONF_MIN, 0, 0, NULL}, - {"ss", &seek_to_sec, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL}, + {"ss", &seek_to_sec, CONF_TYPE_TIME, 0, 0, 0, NULL}, // stop at given position {"endpos", &end_at, CONF_TYPE_TIME_SIZE, 0, 0, 0, NULL}, |