pkgsrc/audio/libsndfile/patches/patch-af
adam 3b347872f8 Changes 1.0.12:
* Add support for FLAC and Apple's Core Audio Format (CAF).
* Add virtual I/O interface (still needs docs).
* Cygwin and other Win32 fixes.
* Minor bug fixes and cleanups.
2005-09-30 13:26:02 +00:00

13 lines
442 B
Text

$NetBSD: patch-af,v 1.4 2005/09/30 13:26:02 adam Exp $
--- src/ms_adpcm.c.orig 2005-09-04 00:11:39.000000000 +0000
+++ src/ms_adpcm.c
@@ -44,7 +44,7 @@ typedef struct
short *samples ;
unsigned char *block ;
#if HAVE_FLEXIBLE_ARRAY
- short dummydata [] ; /* ISO C99 struct flexible array. */
+ short *dummydata ; /* ISO C99 struct flexible array. */
#else
short dummydata [0] ; /* This is a hack an might not work. */
#endif