Commit a8ea7a9c authored by Yujin Lee's avatar Yujin Lee Committed by Sebastian Dröge

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
parent 235506e9
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment