[vlc-devel] [Patch] Allowing output pointers to be NULL in libvlc_video_get_size

Hugo Beauzee-Luyssen beauze.h at gmail.com
Tue Feb 2 10:24:55 CET 2010


Hi,

The recently added libvlc_video_get_size takes two parameters, used to
output the values.
This patch allows these pointers to be NULL, thus avoiding passing two
pointers even when trying to get one value.
The next patch removes the unused variables declarated in
libvlc_video_get_{width,height}

Best regards,

-- 
Hugo Beauzée-Luyssen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allowing-output-pointer-to-be-NULL-in-libvlc_video_g.patch
Type: text/x-patch
Size: 863 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100202/78f95a88/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Using-previous-patch-to-avoid-useless-variables.patch
Type: text/x-patch
Size: 1109 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100202/78f95a88/attachment-0001.bin>


More information about the vlc-devel mailing list