vtdec: fix build error with clang

This commit fixes a simple build error by clang with
by clang with [-Werror,-Wtautological-pointer-compare] options.

https://bugzilla.gnome.org/show_bug.cgi?id=748110
This commit is contained in:
Yujin Lee 2015-04-19 00:55:50 +09:00 committed by Sebastian Dröge
parent 235506e912
commit a8ea7a9cfb

View file

@ -86,7 +86,7 @@ plugin_init (GstPlugin * plugin)
#ifdef HAVE_VIDEOTOOLBOX
/* Check if the framework actually exists at runtime */
if (VTCompressionSessionCreate != NULL) {
if (&VTCompressionSessionCreate != NULL) {
gst_vtdec_register_elements (plugin);
gst_vtenc_register_elements (plugin);
}