[Bug 684568] New: codecparsers: h264: fix error code for invalid size parsed in SPS

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Sep 21 09:30:46 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=684568
  GStreamer | gst-plugins-bad | git

           Summary: codecparsers: h264: fix error code for invalid size
                    parsed in SPS
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: gb.devel at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=224940)
 View: https://bugzilla.gnome.org/attachment.cgi?id=224940
 Review: https://bugzilla.gnome.org/review?bug=684568&attachment=224940

codecparsers: h264: fix error code for invalid size parsed in SPS

Hi, gst_h264_parse_sps() returned FALSE if it parsed invalid (negative) size
components. Now make it gracefully return GST_H264_PARSER_ERROR instead of
GST_H264_PARSER_OK (FALSE).

Not that I really tested it, just noticed the bug when factor it code for
implementing subset_seq_parameter_set_rbsp().

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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