* Fri Sep 3 2010 Hans de Goede <j.w.r.degoede@hhs.nl> 1.9.0-2

- Fix a memleak which is causing issues for LiVES
el8
Hans de Goede 15 years ago
parent 597b6b8c98
commit 4622614ecb

@ -0,0 +1,11 @@
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;

@ -1,6 +1,6 @@
Name: mjpegtools Name: mjpegtools
Version: 1.9.0 Version: 1.9.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Tools to manipulate MPEG data Summary: Tools to manipulate MPEG data
Group: Applications/Multimedia Group: Applications/Multimedia
@ -9,6 +9,7 @@ URL: http://mjpeg.sourceforge.net/
Source0: http://downloads.sourceforge.net/mjpeg/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/mjpeg/%{name}-%{version}.tar.gz
Patch0: %{name}-1.9.0rc1-anytovcd-ffmpegver.patch Patch0: %{name}-1.9.0rc1-anytovcd-ffmpegver.patch
Patch1: mjpegtools-1.9.0-gcc44.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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
@ -74,6 +75,7 @@ for building applications that use mjpegtools libraries.
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1
sed -i -e 's/ARCHFLAGS=.*/ARCHFLAGS=/' configure* sed -i -e 's/ARCHFLAGS=.*/ARCHFLAGS=/' configure*
sed -i -e 's|/lib /usr/lib|/%{_lib} %{_libdir}|' configure # lib64 rpaths sed -i -e 's|/lib /usr/lib|/%{_lib} %{_libdir}|' configure # lib64 rpaths
for f in docs/yuvfps.1 ; do for f in docs/yuvfps.1 ; do
@ -150,6 +152,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Sep 3 2010 Hans de Goede <j.w.r.degoede@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@hhs.nl> 1.9.0-1 * Wed Apr 15 2009 Hans de Goede <j.w.r.degoede@hhs.nl> 1.9.0-1
- Update to upstream 1.9.0 final release - Update to upstream 1.9.0 final release

Loading…
Cancel
Save