[Bug 784755] New: directsoundsrc: fails to compile with gcc 7.1.0

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 10 15:16:53 UTC 2017


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

            Bug ID: 784755
           Summary: directsoundsrc: fails to compile with gcc 7.1.0
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Windows
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: philippe_renon at yahoo.fr
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Error happens at line 873 when calling memset (pLockedBuffer, 0, dwSizeBuffer);

Compiler complains about pLockedBuffer being NULL when it should not.

The issue comes from a few lines above when calling
IDirectSoundCaptureBuffer_Lock. In that call pLockedBuffer is erroneously
passed by value when it should be passed by reference.

Could explain https://bugzilla.gnome.org/show_bug.cgi?id=763322

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