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:
16d71c7
)
qtdemux: Fix buffer leak with corrupted files
author
Jonas Larsson
<jonas.larsson@hiq.se>
Tue, 24 May 2011 07:48:56 +0000
(09:48 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 24 May 2011 07:48:56 +0000
(09:48 +0200)
Fixes bug #650912.
gst/isomp4/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux.c
b/gst/isomp4/qtdemux.c
index
416b164
..
898fc71
100644
(file)
--- a/
gst/isomp4/qtdemux.c
+++ b/
gst/isomp4/qtdemux.c
@@
-2723,6
+2723,7
@@
gst_qtdemux_loop_state_header (GstQTDemux * qtdemux)
("We got less than expected (received %u, wanted %u, offset %"
G_GUINT64_FORMAT ")",
GST_BUFFER_SIZE (moov), (guint) length, cur_offset));
+ gst_buffer_unref (moov);
ret = GST_FLOW_ERROR;
goto beach;
}