summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorYujin Lee <saddopop@gmail.com>2015-04-19 00:55:50 +0900
committerSebastian Dröge <sebastian@centricular.com>2015-04-26 19:23:06 +0200
commita8ea7a9cfb5fd690f459668b7847034b6f2f0f65 (patch)
tree9ac1216f062a7ad18c158364c7a9853f42904c5f /sys
parent235506e9129d6049a3b02cdfd415af0032c531d7 (diff)
downloadgstreamer-plugins-bad-a8ea7a9cfb5fd690f459668b7847034b6f2f0f65.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/applemedia/plugin.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/applemedia/plugin.m b/sys/applemedia/plugin.m
index 7bd24459b..c17c38b60 100644
--- a/sys/applemedia/plugin.m
+++ b/sys/applemedia/plugin.m
@@ -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);
}