[Bug 748110] New: vtdec: fix build error with clang

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 18 08:41:34 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748110

            Bug ID: 748110
           Summary: vtdec: fix build error with clang
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: saddopop at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

There is a build error when vtdec is compiled with clang.

...
Making all in sys
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C applemedia
  OBJC     libgstapplemedia_la-plugin.lo
plugin.m:89:7: error: comparison of function 'VTCompressionSessionCreate' not
equal to a null pointer is always true [-Werror,-Wtautological-pointer-compare]
  if (VTCompressionSessionCreate != NULL) {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~    ~~~~
plugin.m:89:7: note: prefix with the address-of operator to silence this
warning
  if (VTCompressionSessionCreate != NULL) {
      ^
      &
1 error generated.
make[3]: *** [libgstapplemedia_la-plugin.lo] Error 1
make[2]: *** [applemedia] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list