Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37726792
en ru br
ALT Linux repos
S:4.6.1-alt8
5.0: 4.5.1-alt3.git20090319.M50.1
3.0: 4.0.2-alt1

Group :: Development/C++
RPM: wvstreams

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: wvstreams-4.0.2-alt-oggspeex-max_bpf.patch
Download


--- wvstreams-4.0.2/oggspeex/wvspeex.cc-	2005-03-24 05:01:23 +0300
+++ wvstreams-4.0.2/oggspeex/wvspeex.cc	2005-04-30 00:03:43 +0400
@@ -11,6 +11,10 @@
 #include <speex.h>
 #include <speex_header.h>
 
+#ifndef MAX_BYTES_PER_FRAME
+#define MAX_BYTES_PER_FRAME 2000
+#endif
+
 /**
  * Returns the SpeexMode to use for a given sampling rate.
  * "modeid" is the suggested mode
--- wvstreams-4.0.2/oggspeex/wvoggspeex.cc-	2005-03-24 05:01:23 +0300
+++ wvstreams-4.0.2/oggspeex/wvoggspeex.cc	2005-04-30 00:03:43 +0400
@@ -15,6 +15,10 @@
 
 #define OGG_SPEEX_DECODER_BUF_SIZE 16384 // at most 16k at once
 
+#ifndef MAX_BYTES_PER_FRAME
+#define MAX_BYTES_PER_FRAME 2000
+#endif
+
 /** Extracts a little endian integer from a buffer. */
 static unsigned long int getint_le(WvBuf &inbuf)
 {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin