libasplib: add url to gcc bug report
[buildroot-gz.git] / package / sdl_sound / 0001-fix-constness.patch
blob1f27a071dc7af0cb80fa6e83e1c733f9e6327be6
1 decoders/speex: fix constness of speex mode
3 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
5 diff -durN sdl_sound-1.0.3.orig/decoders/speex.c sdl_sound-1.0.3/decoders/speex.c
6 --- sdl_sound-1.0.3.orig/decoders/speex.c 2014-11-17 19:40:09.543553556 +0100
7 +++ sdl_sound-1.0.3/decoders/speex.c 2014-11-17 19:40:37.119864580 +0100
8 @@ -124,7 +124,7 @@
10 static int process_header(speex_t *speex, Sound_Sample *sample)
12 - SpeexMode *mode;
13 + const SpeexMode * mode;
14 SpeexHeader *hptr;
15 SpeexHeader header;
16 int enh_enabled = SPEEX_USE_PERCEPTUAL_ENHANCER;