Commit 4b8d0a29 authored by Sebastian Dröge's avatar Sebastian Dröge

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

parent e3f6b9f3
......@@ -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;
......
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