4a80c3f4f4
Ices version 0 is a source client for streaming MP3 audio to Shoutcast, Icecast v1 and v2 servers. Due to Perl being shipped on OpenBSD by default, custom playlist handlers written in Perl are always supported by this port. from Moritz Grimm <gtgbr@gmx.net>, cleanup and patches from me WWW: http://www.icecast.org/
22 lines
768 B
Plaintext
22 lines
768 B
Plaintext
$OpenBSD: patch-src_in_vorbis_c,v 1.1.1.1 2003/07/26 11:40:45 sturm Exp $
|
|
--- src/in_vorbis.c.orig 2003-07-26 13:05:41.000000000 +0200
|
|
+++ src/in_vorbis.c 2003-07-26 13:09:17.000000000 +0200
|
|
@@ -44,7 +44,7 @@ typedef struct {
|
|
} ices_vorbis_in_t;
|
|
|
|
/* -- static prototypes -- */
|
|
-static int ices_vorbis_readpcm (input_stream_t* self, size_t len,
|
|
+static ssize_t ices_vorbis_readpcm (input_stream_t* self, size_t len,
|
|
int16_t* left, int16_t* right);
|
|
static int ices_vorbis_close (input_stream_t* self);
|
|
static void in_vorbis_parse (input_stream_t* self);
|
|
@@ -133,7 +133,7 @@ ices_vorbis_open (input_stream_t* self,
|
|
return 0;
|
|
}
|
|
|
|
-static int
|
|
+static ssize_t
|
|
ices_vorbis_readpcm (input_stream_t* self, size_t olen, int16_t* left,
|
|
int16_t* right)
|
|
{
|