Commit f2ac2bd2 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

Fix meta title insanity

Fix #13642
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 6b8ff472ec575505abc6c265cc062b79d79a5347)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent fbc04e9c
...@@ -774,13 +774,12 @@ char *str_format_meta(input_thread_t *input, const char *s) ...@@ -774,13 +774,12 @@ char *str_format_meta(input_thread_t *input, const char *s)
break; break;
{ {
char *value = input_item_GetNowPlayingFb(item); char *value = input_item_GetNowPlayingFb(item);
if (value == NULL) if (value != NULL)
break; {
fputs(value, stream);
int ret = fputs(value, stream); free(value);
free(value); }
else
if (ret == EOF)
{ {
char *title = input_item_GetTitleFbName(item); 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