diff options
author | wm4 <wm4@nowhere> | 2014-03-30 13:50:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-30 13:50:23 +0200 |
commit | 01f3e462900bbd6b9cfe5aa27f81c8847dca89d4 (patch) | |
tree | 86c05f0f786211506f9b95c68e996d09ec9e96d7 /sub/draw_bmp.c | |
parent | 5cd20c73208e6fca063f829c86dd4cd22f55a31a (diff) | |
download | mpv-01f3e462900bbd6b9cfe5aa27f81c8847dca89d4.tar.bz2 mpv-01f3e462900bbd6b9cfe5aa27f81c8847dca89d4.tar.xz |
command: fix access to "metadata/list" property
The function tag_property() in command.c passed a key action with empty
path to m_property_read_list. This is normally not valid, because key
actions are supposed to access sub-paths. But it's kind of inconvenient
to check for this case in tag_property(). So make it valid by providing
a m_property_unkey() function, which turns a key access to "" into a
top-level action.
Diffstat (limited to 'sub/draw_bmp.c')
0 files changed, 0 insertions, 0 deletions