Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
a08e7254
Commit
a08e7254
authored
Dec 09, 2016
by
Sebastian Dröge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flxdec: Unref and unmap buffers in all code paths as needed
https://bugzilla.gnome.org/show_bug.cgi?id=775888
parent
1ea9735a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
gst/flx/gstflxdec.c
gst/flx/gstflxdec.c
+2
-3
No files found.
gst/flx/gstflxdec.c
View file @
a08e7254
...
...
@@ -902,10 +902,9 @@ gst_flxdec_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
}
}
need_more_data:
gst_buffer_unmap
(
input
,
&
map_info
);
gst_buffer_unref
(
input
);
need_more_data:
return
res
;
/* ERRORS */
...
...
@@ -914,8 +913,8 @@ parse_error:
(
"%s"
,
"Failed to parse stream"
),
(
NULL
));
unmap_input_error:
gst_buffer_unmap
(
input
,
&
map_info
);
gst_buffer_unref
(
input
);
error:
gst_buffer_unref
(
input
);
return
GST_FLOW_ERROR
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment