[Bug 748107] New: tsdemux: fix build error with clang

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 18 07:39:49 PDT 2015


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

            Bug ID: 748107
           Summary: tsdemux: 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 tsdemux is compiled with clang.

bash-3.2$ make
  CC       libgstmpegtsdemux_la-tsdemux.lo
tsdemux.c:2245:31: error: comparison of unsigned expression < 0 is always false
[-Werror,-Wtautological-compare]
  if (demux->segment.position < 0)
      ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
1 error generated.
make: *** [libgstmpegtsdemux_la-tsdemux.lo] Error 1

-- 
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