mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
gst/h264parse/gsth264parse.c: Fix potential buffer leak in reverse mode. Re-Fixes #516061.
Original commit message from CVS: Patch by: Josep Torra Valles <josep@fluendo.com> * gst/h264parse/gsth264parse.c: (gst_h264_parse_chain_reverse): Fix potential buffer leak in reverse mode. Re-Fixes #516061.
This commit is contained in:
parent
5bd87909da
commit
2e9945f377
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-02-13 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
Patch by: Josep Torra Valles <josep@fluendo.com>
|
||||||
|
|
||||||
|
* gst/h264parse/gsth264parse.c: (gst_h264_parse_chain_reverse):
|
||||||
|
Fix potential buffer leak in reverse mode. Re-Fixes #516061.
|
||||||
|
|
||||||
2008-02-13 Sebastian Dröge <slomo@circular-chaos.org>
|
2008-02-13 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -704,6 +704,8 @@ gst_h264_parse_chain_reverse (GstH264Parse * h264parse, gboolean discont,
|
||||||
guint8 *data;
|
guint8 *data;
|
||||||
|
|
||||||
/* get new buffer and init the start code search to the end position */
|
/* get new buffer and init the start code search to the end position */
|
||||||
|
if (gbuf != NULL)
|
||||||
|
gst_buffer_unref (gbuf);
|
||||||
gbuf = GST_BUFFER_CAST (h264parse->gather->data);
|
gbuf = GST_BUFFER_CAST (h264parse->gather->data);
|
||||||
|
|
||||||
/* remove from the gather list, they are in reverse order */
|
/* remove from the gather list, they are in reverse order */
|
||||||
|
|
Loading…
Reference in a new issue