From: Francois Cartegnie Date: Thu, 15 Apr 2010 19:57:28 +0000 (+0200) Subject: fix unsupported compact ifelse syntax X-Git-Tag: 1.2.0-pre1~7044 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=807b0ab6dcaeaf63135a24eb35f892ea2ac619c6;p=vlc fix unsupported compact ifelse syntax Signed-off-by: RĂ©mi Denis-Courmont --- diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c index eecebe4268..5ad47f6e7b 100644 --- a/src/misc/fourcc.c +++ b/src/misc/fourcc.c @@ -1197,7 +1197,8 @@ static entry_t Lookup( const entry_t p_list[], vlc_fourcc_t i_fourcc ) memcpy( e.p_class, p_class, 4 ); memcpy( e.p_fourcc, p->p_fourcc, 4 ); - e.psz_description = p->psz_description ?: psz_description; + e.psz_description = p->psz_description ? + p->psz_description : psz_description; break; } }