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:
parent
235506e912
commit
a8ea7a9cfb
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user