freebsd-ports/multimedia/gstreamer-ffmpeg80/files/patch-ext_ffmpeg_gstffmpegenc.c
Koop Mast f0def7da50 Update to 0.8.2.
Change e-mail to FreeBSD.org address.
Add patch to fix memory leak [1].

Approved by:	pav (mentor)
Obtained from:	gstreamer cvs.
2004-10-13 16:14:15 +00:00

10 lines
320 B
C

--- ext/ffmpeg/gstffmpegenc.c.orig Mon Oct 11 13:11:57 2004
+++ ext/ffmpeg/gstffmpegenc.c Mon Oct 11 13:12:39 2004
@@ -406,6 +406,7 @@
if (ret_size < 0) {
g_warning ("ffenc_%s: failed to encode buffer", oclass->in_plugin->name);
gst_buffer_unref (inbuf);
+ gst_buffer_unref (outbuf);
return;
}