xref: /OK3568_Linux_fs/buildroot/package/sdl_sound/0001-fix-constness.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1decoders/speex: fix constness of speex mode
2
3Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
4
5diff -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 @@
9
10 static int process_header(speex_t *speex, Sound_Sample *sample)
11 {
12-    SpeexMode *mode;
13+    const SpeexMode * mode;
14     SpeexHeader *hptr;
15     SpeexHeader header;
16     int enh_enabled = SPEEX_USE_PERCEPTUAL_ENHANCER;
17