Mailinglist Archive: opensuse-commit (1421 mails)
| < Previous | Next > |
commit libsndfile
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Tue, 06 May 2008 22:26:39 +0200
- Message-id: <20080506202639.881A9678182@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package libsndfile
checked in at Tue May 6 22:26:39 CEST 2008.
--------
--- libsndfile/libsndfile.changes 2008-04-15 17:39:25.000000000 +0200
+++ libsndfile/libsndfile.changes 2008-05-06 15:11:11.000000000 +0200
@@ -1,0 +2,5 @@
+Tue May 6 15:10:55 CEST 2008 - tiwai@xxxxxxx
+
+- fix missing initializations in demo programs (bnc#351128)
+
+-------------------------------------------------------------------
New:
----
libsndfile-example-fix.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libsndfile.spec ++++++
--- /var/tmp/diff_new_pack.n27881/_old 2008-05-06 22:26:19.000000000 +0200
+++ /var/tmp/diff_new_pack.n27881/_new 2008-05-06 22:26:19.000000000 +0200
@@ -14,7 +14,7 @@
BuildRequires: alsa-devel flac-devel gcc-c++ pkgconfig sqlite-devel
Summary: A Library to Handle Various Audio File Formats
Version: 1.0.17
-Release: 128
+Release: 134
License: LGPL v2.1 or later
Group: System/Libraries
Obsoletes: libsnd
@@ -24,6 +24,7 @@
Patch1: libsndfile-ac.diff
Patch2: libsndfile-1.0.17-flac-buffer-overflow.patch
Patch3: libsndfile-1.0.17-ac.diff
+Patch4: libsndfile-example-fix.diff
Url: http://www.mega-nerd.com/libsndfile/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -95,6 +96,7 @@
%patch1
%patch2
%patch3
+%patch4
%build
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith
-Wno-unused-parameter
@@ -150,6 +152,8 @@
%{_datadir}/octave/site/m/sndfile_save.m
%changelog
+* Tue May 06 2008 tiwai@xxxxxxx
+- fix missing initializations in demo programs (bnc#351128)
* Tue Apr 15 2008 schwab@xxxxxxx
- Fix configure script.
* Thu Apr 10 2008 ro@xxxxxxx
++++++ libsndfile-example-fix.diff ++++++
--- examples/sfprocess.c-dist 2008-02-07 14:39:26.000000000 +0100
+++ examples/sfprocess.c 2008-02-07 14:39:54.000000000 +0100
@@ -69,6 +69,7 @@ main (void)
** sfinfo.format = SF_FORMAT_RAW | SF_FORMAT_PCM_16 ;
** sfinfo.channels = 2 ;
*/
+ memset(&sfinfo, 0, sizeof(sfinfo));
if (! (infile = sf_open (infilename, SFM_READ, &sfinfo)))
{ /* Open failed so print an error message. */
printf ("Not able to open input file %s.\n", infilename) ;
--- examples/sndfile-convert.c-dist 2008-02-07 14:39:26.000000000 +0100
+++ examples/sndfile-convert.c 2008-02-07 14:41:12.000000000 +0100
@@ -242,6 +242,7 @@ main (int argc, char * argv [])
exit (1) ;
} ;
+ memset(&sfinfo, 0, sizeof(sfinfo));
if ((infile = sf_open (infilename, SFM_READ, &sfinfo)) == NULL)
{ printf ("Not able to open input file %s.\n", infilename) ;
puts (sf_strerror (NULL)) ;
--- examples/cooledit-fixer.c-dist 2008-02-07 14:39:26.000000000 +0100
+++ examples/cooledit-fixer.c 2008-02-07 14:40:36.000000000 +0100
@@ -48,7 +48,9 @@ main (int argc, char *argv [])
usage_exit (argv [0]) ;
for (k = 1 ; k < argc ; k++)
- { if ((sndfile = sf_open (argv [k], SFM_READ, &sfinfo)) == NULL)
+ {
+ memset(&sfinfo, 0, sizeof(sfinfo));
+ if ((sndfile = sf_open (argv [k], SFM_READ, &sfinfo)) == NULL)
{ /*-printf ("Failed to open : %s\n", argv [k]) ;-*/
continue ;
} ;
--- examples/generate.c-dist 2008-02-07 14:39:26.000000000 +0100
+++ examples/generate.c 2008-02-07 14:40:53.000000000 +0100
@@ -84,6 +84,7 @@ encode_file (const char *infilename, con
k = 16 - strlen (outfilename) ;
PUT_DOTS (k) ;
+ memset(&sfinfo, 0, sizeof(sfinfo));
if (! (infile = sf_open (infilename, SFM_READ, &sfinfo)))
{ printf ("Error : could not open file : %s\n", infilename) ;
puts (sf_strerror (NULL)) ;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |