mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
12 lines
579 B
Diff
12 lines
579 B
Diff
|
--- audiere-1.9.4/src/speexfile/speexfile.cpp 2006-02-14 05:57:01.000000000 +0100
|
||
|
+++ audiere-1.9.4/src/speexfile/speexfile.cpp.new 2007-10-04 14:51:32.000000000 +0200
|
||
|
@@ -889,7 +889,7 @@
|
||
|
modeID = header->mode;
|
||
|
if ( forceMode != -1 )
|
||
|
modeID = forceMode;
|
||
|
- mode = speex_mode_list[modeID];
|
||
|
+ mode = const_cast<SpeexMode*>(speex_mode_list[modeID]);
|
||
|
|
||
|
if ( mode->bitstream_version < header->mode_bitstream_version ) {
|
||
|
strcpy ( speex_last_error, "The file was encoded with a newer version of Speex.\nYou need to upgrade in order to play it." );
|