mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
mulawdec: Unmap input buffer if failing to map the output buffer
This commit is contained in:
parent
e3f6b9f367
commit
4b8d0a294a
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ gst_mulawdec_handle_frame (GstAudioDecoder * dec, GstBuffer * buffer)
|
|||
|
||||
error_failed_map_output_buffer:
|
||||
gst_buffer_unref (outbuf);
|
||||
gst_buffer_unmap (buffer, &inmap);
|
||||
|
||||
error_failed_map_input_buffer:
|
||||
return GST_FLOW_ERROR;
|
||||
|
|
Loading…
Reference in a new issue