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:
edf6d28
)
flacparse: Free GstBaseParseFrame if pushing a header failed
author
Matej Knopp
<matej.knopp@gmail.com>
Tue, 3 Sep 2013 08:10:01 +0000
(10:10 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Tue, 3 Sep 2013 08:10:49 +0000
(10:10 +0200)
gst/audioparsers/gstflacparse.c
patch
|
blob
|
history
diff --git
a/gst/audioparsers/gstflacparse.c
b/gst/audioparsers/gstflacparse.c
index cddc62a5c85fec23eb7448858b91b521a56abf20..8ac280494f150cbfbfd2108cc3bae4f996e82982 100644
(file)
--- a/
gst/audioparsers/gstflacparse.c
+++ b/
gst/audioparsers/gstflacparse.c
@@
-1347,9
+1347,9
@@
push_headers:
frame.buffer = buf;
frame.overhead = -1;
res = gst_base_parse_push_frame (GST_BASE_PARSE (flacparse), &frame);
+ gst_base_parse_frame_free (&frame);
if (res != GST_FLOW_OK)
break;
- gst_base_parse_frame_free (&frame);
}
g_list_foreach (flacparse->headers, (GFunc) gst_mini_object_unref, NULL);
g_list_free (flacparse->headers);