[vlc-devel] ActiveX, npapi: fixed VC 2008 compilation warnings.
Rémi Denis-Courmont
remi at remlab.net
Thu Nov 24 07:34:48 CET 2011
On Thu, 24 Nov 2011 09:06:35 +0700, Sergey Radionov <rsatom at gmail.com>
wrote:
> but I still don't know, how it will be better, so:
> bool r = libvlc_media_player_has_vout(libvlc_media_player)!=0;
> or so:
> bool r = !!libvlc_media_player_has_vout(libvlc_media_player);
>
> in patches I use first variant.
bool r = libvlc_media_player_has_vout(libvlc_media_player);
is better than both.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list