[Bug 652642] typefind: NULL check in degas_type_find

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 16 00:54:54 PDT 2011


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

--- Comment #3 from Philip Jägenstedt <philipj at opera.com> 2011-06-16 07:54:44 UTC ---
I thought that was a bit odd too, but looking at the documentation of
gst_type_find_get_length it claims to be "the length of the data stream", not
that the data is actually available. Is the documentation incorrect? In the
case where it crashed, _get_length had returned something suspiciously close to
2^16, but since I couldn't see any 16-bit integers involved I shrugged that
off.

I can try reverting my fix and have a closer look inside the typefinder object
when it happens again.

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