mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-05 14:16:06 +00:00
ext/ffmpeg/gstffmpegdec.c: Memleak fix.
Original commit message from CVS: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain): Memleak fix. Closes #326704
This commit is contained in:
parent
882d688f45
commit
3c1bbb0a60
|
@ -1,3 +1,9 @@
|
||||||
|
2006-01-17 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
|
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
|
||||||
|
Memleak fix.
|
||||||
|
Closes #326704
|
||||||
|
|
||||||
2006-01-17 Edward Hervey <edward@fluendo.com>
|
2006-01-17 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -1144,8 +1144,9 @@ gst_ffmpegdec_chain (GstPad * pad, GstBuffer * inbuf)
|
||||||
|
|
||||||
/* parse cache joining */
|
/* parse cache joining */
|
||||||
if (ffmpegdec->pcache) {
|
if (ffmpegdec->pcache) {
|
||||||
inbuf = gst_buffer_span (ffmpegdec->pcache, 0, inbuf,
|
inbuf = gst_buffer_join (ffmpegdec->pcache, inbuf);
|
||||||
GST_BUFFER_SIZE (ffmpegdec->pcache) + GST_BUFFER_SIZE (inbuf));
|
/* inbuf = gst_buffer_span (ffmpegdec->pcache, 0, inbuf, */
|
||||||
|
/* GST_BUFFER_SIZE (ffmpegdec->pcache) + GST_BUFFER_SIZE (inbuf)); */
|
||||||
ffmpegdec->pcache = NULL;
|
ffmpegdec->pcache = NULL;
|
||||||
bdata = GST_BUFFER_DATA (inbuf);
|
bdata = GST_BUFFER_DATA (inbuf);
|
||||||
bsize = GST_BUFFER_SIZE (inbuf);
|
bsize = GST_BUFFER_SIZE (inbuf);
|
||||||
|
|
Loading…
Reference in a new issue