rpms/gstreamer-plugins-farsight/devel gstreamer-plugins-farsight-0.12.2-memset.patch, NONE, 1.1 gstreamer-plugins-farsight.spec, 1.6, 1.7
Brian Pepple (bpepple)
fedora-extras-commits at redhat.com
Thu Aug 9 00:00:23 UTC 2007
Author: bpepple
Update of /cvs/pkgs/rpms/gstreamer-plugins-farsight/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17550
Modified Files:
gstreamer-plugins-farsight.spec
Added Files:
gstreamer-plugins-farsight-0.12.2-memset.patch
Log Message:
* Wed Aug 8 2007 Brian Pepple <bpepple at fedoraproject.org> - 0.12.2-2
- Add patch to fix memset problem. (thanks to Dave Jones for pointing this out).
- Update license tag.
gstreamer-plugins-farsight-0.12.2-memset.patch:
--- NEW FILE gstreamer-plugins-farsight-0.12.2-memset.patch ---
diff -ur gst-plugins-farsight-0.12.2.OLD/ext/jpeg2000/gstj2kenc.c gst-plugins-farsight-0.12.2/ext/jpeg2000/gstj2kenc.c
--- gst-plugins-farsight-0.12.2.OLD/ext/jpeg2000/gstj2kenc.c 2007-04-12 16:33:12.000000000 -0400
+++ gst-plugins-farsight-0.12.2/ext/jpeg2000/gstj2kenc.c 2007-08-08 18:58:34.000000000 -0400
@@ -300,8 +300,8 @@
GST_DEBUG("gst_jpeg2000enc_chain: starting compression");
- memset(&cp, sizeof(j2k_cp_t), 0);
- memset(&img, sizeof(j2k_image_t), 0);
+ memset(&cp, 0, sizeof(j2k_cp_t));
+ memset(&img,0, sizeof(j2k_image_t));
cp.tx0 = 0; cp.ty0 = 0;
cp.tw = 1; cp.th = 1;
Only in gst-plugins-farsight-0.12.2/ext/jpeg2000: gstj2kenc.c~
diff -ur gst-plugins-farsight-0.12.2.OLD/gst/rtppayloads/gstdvdepayload.c gst-plugins-farsight-0.12.2/gst/rtppayloads/gstdvdepayload.c
--- gst-plugins-farsight-0.12.2.OLD/gst/rtppayloads/gstdvdepayload.c 2007-04-12 16:33:12.000000000 -0400
+++ gst-plugins-farsight-0.12.2/gst/rtppayloads/gstdvdepayload.c 2007-08-08 18:59:39.000000000 -0400
@@ -216,7 +216,7 @@
if (out != NULL)
memcpy (GST_BUFFER_DATA(acc), GST_BUFFER_DATA(out), 144000);
else
- memset (GST_BUFFER_DATA(acc), 144000, 0);
+ memset (GST_BUFFER_DATA(acc), 0, 144000);
}
/* Extract the payload */
Only in gst-plugins-farsight-0.12.2/gst/rtppayloads: gstdvdepayload.c~
diff -ur gst-plugins-farsight-0.12.2.OLD/tests/gsmsendrecv.c gst-plugins-farsight-0.12.2/tests/gsmsendrecv.c
--- gst-plugins-farsight-0.12.2.OLD/tests/gsmsendrecv.c 2007-04-12 16:33:12.000000000 -0400
+++ gst-plugins-farsight-0.12.2/tests/gsmsendrecv.c 2007-08-08 18:57:18.000000000 -0400
@@ -41,7 +41,7 @@
port = atoi (argv[2]);
/* create and bind a socket for RTP and RTCP */
- memset(&rtp_addr, sizeof(struct sockaddr_in), 0);
+ memset(&rtp_addr, 0, sizeof(struct sockaddr_in));
rtp_sockfd = socket (AF_INET, SOCK_DGRAM, 0);
rtcp_sockfd = socket (AF_INET, SOCK_DGRAM, 0);
if (rtp_sockfd > 0 && rtcp_sockfd > 0) {
@@ -58,7 +58,7 @@
rtp_sockfd = -1;
}
- memset(&rtp_addr, sizeof(struct sockaddr_in), 0);
+ memset(&rtp_addr, 0, sizeof(struct sockaddr_in));
rtp_addr.sin_family = AF_INET;
rtp_addr.sin_port = htons (port + 1);
rtp_addr.sin_addr.s_addr = INADDR_ANY;
Only in gst-plugins-farsight-0.12.2/tests: gsmsendrecv.c~
Index: gstreamer-plugins-farsight.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gstreamer-plugins-farsight/devel/gstreamer-plugins-farsight.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- gstreamer-plugins-farsight.spec 31 Jul 2007 01:04:34 -0000 1.6
+++ gstreamer-plugins-farsight.spec 8 Aug 2007 23:59:51 -0000 1.7
@@ -2,13 +2,14 @@
Name: gstreamer-plugins-farsight
Version: 0.12.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GStreamer plug-ins for farsight protocol
Group: Applications/Multimedia
-License: GPL
+License: LGPLv2+
URL: http://projects.collabora.co.uk/darcs/farsight/
Source0: http://farsight.freedesktop.org/releases/gst-plugins-farsight/gst-plugins-farsight-%{version}.tar.gz
+Patch0: %{name}-%{version}-memset.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gstreamer-devel >= 0.10.11
@@ -27,6 +28,7 @@
%prep
%setup -q -n gst-plugins-farsight-%{version}
+%patch0 -p1 -b .memset
%build
@@ -55,10 +57,13 @@
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_libdir}/gstreamer-%{gst_majorminor}/*.so
-%{_libdir}/gstreamer-%{gst_majorminor}/*.so.*
%changelog
+* Wed Aug 8 2007 Brian Pepple <bpepple at fedoraproject.org> - 0.12.2-2
+- Add patch to fix memset problem. (thanks to Dave Jones for pointing this out).
+- Update license tag.
+
* Mon Jul 30 2007 Brian Pepple <bpepple at fedoraproject.org> - 0.12.2-1
- Update to 0.12.2.
More information about the fedora-extras-commits
mailing list