[SCM] zita-resampler/master.stable: Fix SIGSEGV on 64-bit systems.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Oct 29 15:44:15 UTC 2012


The following commit has been merged in the master.stable branch:
commit 2129d6dae3afa421d2344c63a62664e91800bf83
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Oct 29 15:43:29 2012 +0000

    Fix SIGSEGV on 64-bit systems.
    
    Closes: #691769
    Thanks: Jamie Heilman for pointing out this.

diff --git a/debian/patches/11-64bits.patch b/debian/patches/11-64bits.patch
new file mode 100644
index 0000000..41da096
--- /dev/null
+++ b/debian/patches/11-64bits.patch
@@ -0,0 +1,16 @@
+---
+ libs/vresampler.cc |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- zita-resampler.orig/libs/vresampler.cc
++++ zita-resampler/libs/vresampler.cc
+@@ -163,7 +163,8 @@ int VResampler::reset (void)
+ 
+ int VResampler::process (void)
+ {
+-    unsigned int   k, hl, np, in, nr, nz, i, n, c;
++    unsigned int   k, np, in, nr, n, c;
++    int            i, hl, nz;
+     double         ph, dp, dd; 
+     float          a, b, *p1, *p2, *q1, *q2;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index d3b72df..fd96058 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-makefile.patch
+11-64bits.patch

-- 
zita-resampler packaging



More information about the pkg-multimedia-commits mailing list