[vlc-devel] [PATCH 1/8] fix unsupported shortcut
Jean-Baptiste Kempf
jb at videolan.org
Wed Apr 14 16:58:24 CEST 2010
On Wed, Apr 14, 2010 at 04:53:13PM +0200, Francois Cartegnie wrote :
> memcpy( e.p_class, p_class, 4 );
> memcpy( e.p_fourcc, p->p_fourcc, 4 );
> - e.psz_description = p->psz_description ?: psz_description;
> + if ( p->psz_description != NULL )
> + e.psz_description = p->psz_description;
> + else
> + e.psz_description = psz_description;
> break;
Why not
e.psz_description = p->psz_description ? p->psz_description : psz_description;
?
Best Regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/
More information about the vlc-devel
mailing list