cmdutils: fix codec-specific options from preset
authorJames Zern <jzern@google.com>
Sat, 5 Feb 2011 02:29:46 +0000 (18:29 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Feb 2011 19:31:45 +0000 (20:31 +0100)
commit3f171f5aec6a7e0e0f8a84520923824191a48f36
treecbca2f7fd0514410ad2852cef7d8875cf4422f11
parentba3517aa6f573d280d80866e776885be7f01de77
cmdutils: fix codec-specific options from preset

Using a preset file caused the address of a stack variable to be stored
in opt_names/values. This change causes the strings to be dup'd then
freed in uninit_opts.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 60ff9de6ffa740e0df8c2a019c72e2d332b9788d)
cmdutils.c