openbsd-ports/audio/audacious-plugins/patches/patch-src_aac_libmp4_c
jakemsr 98c9e1c3ff - simpler faad related patching
- @bin marker for arts-helper
- bump PKGNAMEs

ok brad@
2008-09-15 22:02:44 +00:00

22 lines
842 B
Plaintext

$OpenBSD: patch-src_aac_libmp4_c,v 1.2 2008/09/15 22:02:44 jakemsr Exp $
--- src/aac/libmp4.c.orig Thu Mar 13 15:22:35 2008
+++ src/aac/libmp4.c Sat Aug 30 22:22:57 2008
@@ -91,7 +91,7 @@ static guint32 mp4_read_callback(void *data, void *buf
return aud_vfs_fread(buffer, 1, len, (VFSFile *) data);
}
-static guint32 mp4_seek_callback(void *data, guint64 pos)
+static guint32 mp4_seek_callback(void *data, uint64_t pos)
{
if (data == NULL)
return -1;
@@ -629,7 +629,7 @@ void my_decode_aac( InputPlayback *playback, char *fil
faacDecHandle decoder = 0;
guchar streambuffer[BUFFER_SIZE];
gulong bufferconsumed = 0;
- gulong samplerate = 0;
+ guint samplerate = 0;
guchar channels = 0;
gulong buffervalid = 0;
gchar *ttemp = NULL, *stemp = NULL;