From 807b0ab6dcaeaf63135a24eb35f892ea2ac619c6 Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Thu, 15 Apr 2010 21:57:28 +0200 Subject: [PATCH] fix unsupported compact ifelse syntax MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémi Denis-Courmont --- src/misc/fourcc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.39.2