openbsd-ports/audio/mpd/patches/patch-src_inputPlugins_mp4_plugin_c
jakemsr 6ff93d9b44 - use exact width data types for libfaad interaction
- LIB_DEPENDS libfaad >= 1.0
- bump PKGNAME

OK naddy@
2007-06-29 06:08:12 +00:00

19 lines
627 B
Plaintext

$OpenBSD: patch-src_inputPlugins_mp4_plugin_c,v 1.1 2007/06/29 06:08:12 jakemsr Exp $
--- src/inputPlugins/mp4_plugin.c.orig Mon May 28 06:19:30 2007
+++ src/inputPlugins/mp4_plugin.c Thu Jun 28 21:34:04 2007
@@ -98,10 +98,10 @@ static int mp4_decode(OutputBuffer * cb, DecoderContro
faacDecHandle decoder;
faacDecFrameInfo frameInfo;
faacDecConfigurationPtr config;
- unsigned char *mp4Buffer;
- unsigned int mp4BufferSize;
- unsigned long sampleRate;
- unsigned char channels;
+ uint8_t *mp4Buffer;
+ uint32_t mp4BufferSize;
+ uint32_t sampleRate;
+ uint8_t channels;
long sampleId;
long numSamples;
int eof = 0;