[vlc-commits] commit: fix unsupported compact ifelse syntax (Francois Cartegnie )

git at videolan.org git at videolan.org
Thu Apr 15 22:04:09 CEST 2010


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 15 21:57:28 2010 +0200| [807b0ab6dcaeaf63135a24eb35f892ea2ac619c6] | committer: Rémi Denis-Courmont 

fix unsupported compact ifelse syntax

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=807b0ab6dcaeaf63135a24eb35f892ea2ac619c6
---

 src/misc/fourcc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index eecebe4..5ad47f6 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;
         }
     }



More information about the vlc-commits mailing list