Author: jwrdegoede
Update of /cvs/free/rpms/mjpegtools/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28279
Modified Files:
mjpegtools.spec
Added Files:
mjpegtools-1.9.0-png-memleak.patch
Log Message:
* Fri Sep 3 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 1.9.0-2
- Fix a memleak which is causing issues for LiVES
mjpegtools-1.9.0-png-memleak.patch:
png2yuv.c | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE mjpegtools-1.9.0-png-memleak.patch ---
diff -up mjpegtools-1.9.0/lavtools/png2yuv.c~ mjpegtools-1.9.0/lavtools/png2yuv.c
--- mjpegtools-1.9.0/lavtools/png2yuv.c~ 2007-11-08 18:31:50.000000000 +0100
+++ mjpegtools-1.9.0/lavtools/png2yuv.c 2010-09-03 13:32:43.015596001 +0200
@@ -407,6 +407,7 @@ int decode_png(const char *pngname, int
return 2;
}
+ png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
fclose(pngfile);
return 1;
Index: mjpegtools.spec
===================================================================
RCS file: /cvs/free/rpms/mjpegtools/F-12/mjpegtools.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mjpegtools.spec 15 Apr 2009 10:41:21 -0000 1.4
+++ mjpegtools.spec 3 Sep 2010 14:46:20 -0000 1.5
@@ -1,6 +1,6 @@
Name: mjpegtools
Version: 1.9.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Tools to manipulate MPEG data
Group: Applications/Multimedia
@@ -9,6 +9,7 @@
Source0:
http://downloads.sourceforge.net/mjpeg/%{name}-%{version}.tar.gz
Patch0: %{name}-1.9.0rc1-anytovcd-ffmpegver.patch
Patch1: mjpegtools-1.9.0-gcc44.patch
+Patch2: mjpegtools-1.9.0-png-memleak.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libjpeg-devel
@@ -74,6 +75,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
sed -i -e 's/ARCHFLAGS=.*/ARCHFLAGS=/' configure*
sed -i -e 's|/lib /usr/lib|/%{_lib} %{_libdir}|' configure # lib64 rpaths
for f in docs/yuvfps.1 ; do
@@ -150,6 +152,9 @@
%changelog
+* Fri Sep 3 2010 Hans de Goede <j.w.r.degoede(a)hhs.nl> 1.9.0-2
+- Fix a memleak which is causing issues for LiVES
+
* Wed Apr 15 2009 Hans de Goede <j.w.r.degoede(a)hhs.nl> 1.9.0-1
- Update to upstream 1.9.0 final release