diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-05-20 01:26:38 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-07-16 21:08:42 +0300 |
commit | 48f0692ab973448de5faa323478d1cba3d42e2af (patch) | |
tree | 0d00001f5ad9f04e64613c9759c38be5c80b9f10 /timeline/tl_matroska.c | |
parent | dc2a4863af9b0e587ac4ec3e2096639098e99a8f (diff) | |
download | mpv-48f0692ab973448de5faa323478d1cba3d42e2af.tar.bz2 mpv-48f0692ab973448de5faa323478d1cba3d42e2af.tar.xz |
options: make option struct the talloc parent of options
Allocate dynamically-allocated option values as talloc children of the
option struct. This will allow implementing per-object (VO etc)
options so that simply freeing the object will free associated options
too.
This doesn't change quite every allocation in m_option.c, but the
exceptions are legacy types which will not matter for new per-object
options.
Diffstat (limited to 'timeline/tl_matroska.c')
0 files changed, 0 insertions, 0 deletions