forked from pool/luvcview
Accepting request 40019 from graphics
Copy from graphics/luvcview based on submit request 40019 from user prusnak OBS-URL: https://build.opensuse.org/request/show/40019 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luvcview?expand=0&rev=5
This commit is contained in:
parent
143026f35f
commit
067f9ace79
21
luvcview-memory-leaks.patch
Normal file
21
luvcview-memory-leaks.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Index: v4l2uvc.c
|
||||||
|
===================================================================
|
||||||
|
--- v4l2uvc.c.orig
|
||||||
|
+++ v4l2uvc.c
|
||||||
|
@@ -225,6 +225,8 @@ int enum_controls(int vd) //struct vdIn
|
||||||
|
return 0;
|
||||||
|
fatal_controls:
|
||||||
|
return -1;
|
||||||
|
+
|
||||||
|
+ free(getinput);
|
||||||
|
}
|
||||||
|
int save_controls(int vd)
|
||||||
|
{
|
||||||
|
@@ -426,6 +428,7 @@ static int init_v4l2(struct vdIn *vd)
|
||||||
|
fatal:
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
+ free(setfps);
|
||||||
|
}
|
||||||
|
|
||||||
|
static int video_enable(struct vdIn *vd)
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 14 03:22:08 UTC 2010 - kpolulak@gmail.com
|
||||||
|
|
||||||
|
- Fixed memory leaks in v4l2uvc.c
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 7 01:39:44 CET 2008 - bphilips@suse.de
|
Fri Nov 7 01:39:44 CET 2008 - bphilips@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package luvcview (Version 20070512)
|
# spec file for package luvcview (Version 20070512)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,12 +27,13 @@ AutoReqProv: on
|
|||||||
Group: Productivity/Multimedia/Video/Players
|
Group: Productivity/Multimedia/Video/Players
|
||||||
Summary: Simple V4L2 application using sdl
|
Summary: Simple V4L2 application using sdl
|
||||||
Version: 20070512
|
Version: 20070512
|
||||||
Release: 3
|
Release: 4
|
||||||
Source: %name-%version.src.tar.gz
|
Source: %name-%version.src.tar.gz
|
||||||
Url: http://mxhaard.free.fr/spca50x/Investigation/uvc/
|
Url: http://mxhaard.free.fr/spca50x/Investigation/uvc/
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Patch1: luvcview-add-COPYING.patch
|
Patch1: luvcview-add-COPYING.patch
|
||||||
|
Patch2: luvcview-memory-leaks.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
luvcview is a simple V4L2 application using sdl
|
luvcview is a simple V4L2 application using sdl
|
||||||
@ -47,6 +48,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -n luvcview-%version
|
%setup -n luvcview-%version
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
@ -63,7 +65,3 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_bindir}/luvcview
|
%{_bindir}/luvcview
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Nov 07 2008 bphilips@suse.de
|
|
||||||
- Add COPYING file to close bnc#426252
|
|
||||||
* Thu Aug 07 2008 bphilips@suse.de
|
|
||||||
- Initial add 20070512
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user