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)
|
||
|
{
|