Commit 581bd93a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

es_out: deobfuscate expression (fixes #19635)

parent 8529cee3
......@@ -1259,8 +1259,9 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, const vlc_meta_t *p_me
{
const char *psz_current_title = vlc_meta_Get( p_pgrm->p_meta, vlc_meta_Title );
const char *psz_new_title = vlc_meta_Get( p_meta, vlc_meta_Title );
if( !psz_current_title != !psz_new_title ||
( psz_new_title && psz_new_title && strcmp(psz_new_title, psz_current_title)) )
if( (psz_current_title != NULL && psz_new_title != NULL)
? strcmp(psz_new_title, psz_current_title)
: (psz_current_title != psz_new_title) )
{
/* Remove old entries */
char *psz_oldinfokey = EsOutProgramGetMetaName( p_pgrm );
......
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