options: fix -use-filename-title crash after recent 39e373aa
commit5846a5e8e07c498e25a738335b324231f7db9a3c
authorUoti Urpala <uau@mplayer2.org>
Sun, 10 Jul 2011 00:20:47 +0000 (10 03:20 +0300)
committerUoti Urpala <uau@mplayer2.org>
Sun, 10 Jul 2011 00:20:47 +0000 (10 03:20 +0300)
treee6eec0cd46ea3f55a59103bef355766381e77d99
parent13151d7b69974a600873e8513d1d509338b34779
options: fix -use-filename-title crash after recent 39e373aa

After commit 39e373aa8d ("options: allocate dynamic options with
talloc") dynamically allocated options must be allocated with talloc.
Code implementing -use-filename-title still set opts->vo_wintitle to a
value from strdup(), triggering an abort when the option was freed.
Fix.
mplayer.c