From e5ab09bb64448e8d60f081891fb85d742c83c9a0 Mon Sep 17 00:00:00 2001 From: uau Date: Sat, 24 Feb 2007 07:11:57 +0000 Subject: 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 --- cfg-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cfg-common.h') 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}, -- cgit v1.2.3