diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-12-20 06:34:11 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-12-20 06:34:11 +0200 |
commit | 835d3deea2023bd53a079513f6b742b575ae1896 (patch) | |
tree | 9907aeb662ac8a249ebdb99fa30bd81c068de945 /input | |
parent | 2bc23997973f353e037b44a1bfde38685a6ff0bd (diff) | |
download | mpv-835d3deea2023bd53a079513f6b742b575ae1896.tar.bz2 mpv-835d3deea2023bd53a079513f6b742b575ae1896.tar.xz |
commands: clean up get_metadata() and related code
Code in get_metadata() allocated too small a buffer for the text it
wrote (noticed by Clément Bœsch). Make the code cleaner and more
robust by changing it to use talloc_asprintf(). Also make it always
return non-NULL and remove checks on caller side.
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions