Commit 00887784 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

mulawdec: Unmap input buffer if failing to map the output buffer

parent c049f854
...@@ -130,6 +130,7 @@ gst_mulawdec_handle_frame (GstAudioDecoder * dec, GstBuffer * buffer) ...@@ -130,6 +130,7 @@ gst_mulawdec_handle_frame (GstAudioDecoder * dec, GstBuffer * buffer)
error_failed_map_output_buffer: error_failed_map_output_buffer:
gst_buffer_unref (outbuf); gst_buffer_unref (outbuf);
gst_buffer_unmap (buffer, &inmap);
error_failed_map_input_buffer: error_failed_map_input_buffer:
return GST_FLOW_ERROR; return GST_FLOW_ERROR;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment