[Bug 789408] New: gst-plugins-good: alaw-encode: Handled buffer mapping failure
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Oct 24 14:20:18 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=789408
Bug ID: 789408
Summary: gst-plugins-good: alaw-encode: Handled buffer mapping
failure
Classification: Platform
Product: GStreamer
Version: 1.12.3
OS: All
Status: NEW
Severity: minor
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: kr.ashish at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Buffer mapping failure must be handled at below:-
File: gst-plugins-good-1.12.3/gst/law/alaw-encode.c
Function: gst_alaw_enc_handle_frame
...
gst_buffer_map (buffer, &inmap, GST_MAP_READ);
linear_data = (gint16 *) inmap.data;
linear_size = inmap.size;
alaw_size = linear_size / 2;
outbuf = gst_audio_encoder_allocate_output_buffer (audioenc, alaw_size);
g_assert (outbuf);
gst_buffer_map (outbuf, &outmap, GST_MAP_WRITE);
alaw_data = outmap.data;
...
Failure of gst_buffer_map must be handled.
--
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