[Bug 758912] New: avimux: don't crash if we never got audio caps before stopping
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Dec 1 09:34:29 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=758912
Bug ID: 758912
Summary: avimux: don't crash if we never got audio caps before
stopping
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: m.olbrich at pengutronix.de
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 316620
--> https://bugzilla.gnome.org/attachment.cgi?id=316620&action=edit
patch
auds.blockalign is set once the first caps arrive. If
gst_avi_mux_stop_file() is called before this happens then auds.blockalign
is zero and gst_avi_mux_audsink_set_fields() cause a crash:
[...]
avipad->parent.hdr.rate = avipad->auds.av_bps / avipad->auds.blockalign;
[...]
--
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