mpv/common
wm4 947a791992 player: don't set tag strings to NULL
bstr is a bounded string type, consisting of a pointer and a length
value. If the length is 0, the pointer can be NULL. This is somewhat
logical due to how this abstraction works, but it can leak when
converting to C strings.

talloc_strndup() returns NULL instead of "" in this case, which broke
some other code. Use bstrto0() instead, which is the "proper" function
to convert bstr to char*.

Fixes #1462.
2015-01-25 17:00:08 +09:00
..
av_common.c
av_common.h
av_log.c
av_log.h
codecs.c
codecs.h
common.c common: fix \x-style escaping 2014-10-16 21:17:01 +02:00
common.h common: fix version variable declarations 2014-11-02 17:38:07 +01:00
encode.h
encode_lavc.c Silence some Coverity warnings 2014-11-21 09:59:58 +01:00
encode_lavc.h
global.h stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
msg.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
msg.h
msg_control.h Add some missing "const"s 2014-10-10 13:44:08 +02:00
playlist.c player: deal with some corner cases with playlist navigation 2014-09-09 01:23:10 +02:00
playlist.h player: deal with some corner cases with playlist navigation 2014-09-09 01:23:10 +02:00
tags.c player: don't set tag strings to NULL 2015-01-25 17:00:08 +09:00
tags.h
version.c common: fix version variable declarations 2014-11-02 17:38:07 +01:00