projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f6b9f
)
mulawdec: Unmap input buffer if failing to map the output buffer
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 27 Jul 2017 11:21:34 +0000
(14:21 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 27 Jul 2017 11:23:14 +0000
(14:23 +0300)
gst/law/mulaw-decode.c
patch
|
blob
|
history
diff --git
a/gst/law/mulaw-decode.c
b/gst/law/mulaw-decode.c
index
912fb8c
..
1a70d0b
100644
(file)
--- a/
gst/law/mulaw-decode.c
+++ b/
gst/law/mulaw-decode.c
@@
-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;