projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1947587
)
avidemux: Don't forget unmapping and unreffing buffer
author
Sebastian Dröge
<slomo@circular-chaos.org>
Sun, 28 Jul 2013 15:32:27 +0000
(17:32 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Sun, 28 Jul 2013 15:32:59 +0000
(17:32 +0200)
gst/avi/gstavidemux.c
patch
|
blob
|
history
diff --git
a/gst/avi/gstavidemux.c
b/gst/avi/gstavidemux.c
index 9cf588779a89f31fa9c2808e069fa997810336ce..43a96a86a4f277f3f5e62211018de91ffaf5fbcd 100644
(file)
--- a/
gst/avi/gstavidemux.c
+++ b/
gst/avi/gstavidemux.c
@@
-3758,6
+3758,7
@@
gst_avi_demux_stream_header_pull (GstAviDemux * avi)
sub = NULL;
break;
case GST_RIFF_LIST_INFO:
+ gst_buffer_unmap (sub, &map);
gst_buffer_resize (sub, 4, -1);
gst_riff_parse_info (element, sub, &tags);
if (tags) {
@@
-3769,6
+3770,8
@@
gst_avi_demux_stream_header_pull (GstAviDemux * avi)
}
}
tags = NULL;
+ gst_buffer_unref (sub);
+ sub = NULL;
break;
default:
GST_WARNING_OBJECT (avi,