mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue