[Bug 650416] [h264parse] Assertion failure: nal_size >=2

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 23 06:04:27 PDT 2011


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

Mark Nauwelaerts <mnauw> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.23

--- Comment #7 from Mark Nauwelaerts <mnauw at users.sourceforge.net> 2011-05-23 13:04:22 UTC ---
Made some modifications bearing in mind that NALs may or may not be aggregated
into AUs.  Also, _process_nal is also called from a few other places, so better
also make sure in _process_nal it is not being called with less than expected. 

commit fe2db9d46037b6daad2555051a40963e8d2f5e7d
Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Mon May 23 14:41:27 2011 +0200

    h264parse: gracefully handle truncated input NAL units

    Rather than assert'ing in such case, emit warning if the length of a NAL
unit
    is less than expected 2 and discard it.

    Based on patch by Benjamin M. Schwartz <bens at alum.mit.edu>

    Fixes #650416.

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