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:
02359f9
)
avidemux: unmap buffer
author
Matej Knopp
<matej.knopp@gmail.com>
Fri, 26 Jul 2013 19:06:17 +0000
(21:06 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Sun, 28 Jul 2013 15:32:59 +0000
(17:32 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=704951
gst/avi/gstavidemux.c
patch
|
blob
|
history
diff --git
a/gst/avi/gstavidemux.c
b/gst/avi/gstavidemux.c
index 24682da52017ac86d61fce7b6fc4bdc5e73fbf19..9cf588779a89f31fa9c2808e069fa997810336ce 100644
(file)
--- a/
gst/avi/gstavidemux.c
+++ b/
gst/avi/gstavidemux.c
@@
-3744,6
+3744,7
@@
gst_avi_demux_stream_header_pull (GstAviDemux * avi)
switch (GST_READ_UINT32_LE (map.data)) {
case GST_RIFF_LIST_strl:
+ gst_buffer_unmap (sub, &map);
if (!(gst_avi_demux_parse_stream (avi, sub))) {
GST_ELEMENT_WARNING (avi, STREAM, DEMUX, (NULL),
("failed to parse stream, ignoring"));
@@
-3752,6
+3753,7
@@
gst_avi_demux_stream_header_pull (GstAviDemux * avi)
sub = NULL;
goto next;
case GST_RIFF_LIST_odml:
+ gst_buffer_unmap (sub, &map);
gst_avi_demux_parse_odml (avi, sub);
sub = NULL;
break;