Commit 5fc1be25 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Jean-Baptiste Kempf

str_format_meta: NULL dereference

(cherry picked from commit 090a04a3e80a9bf0a7cda391c869e223f170e4da)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent febaed28
......@@ -761,6 +761,8 @@ char *str_format_meta(input_thread_t *input, const char *s)
fputc('\n', stream);
break;
case 'Z':
if (item == NULL)
break;
if (write_meta(stream, item, vlc_meta_NowPlaying) == EOF)
{
char *title = input_item_GetTitleFbName(item);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment