[Bug 769299] New: ogg: check return values in gst_ogg_parse_new_stream

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 29 11:18:15 UTC 2016


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

            Bug ID: 769299
           Summary: ogg: check return values in gst_ogg_parse_new_stream
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: luis at debethencourt.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 332346
  --> https://bugzilla.gnome.org/attachment.cgi?id=332346&action=edit
patch

There were two FIXME comments about checking the return values in
gst_ogg_parse_new_stream.

This function already returned NULL if ogg_stream_init() failed, but
gst_ogg_parse_chain() didn't check and just assumed _new_stream succeeded.

Submitting the patch here for comments. Maybe the ERROR messages can be
improved :)

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