CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/05/24 11:46:28
Modified files: . : ChangeLog backend : sound_handler_sdl.h Log message: * backend/sound_handler_sdl.h: fix const-correctness of active_sound (btw, do we really need two different definitions of that class for SDL and GST ?). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3335&r2=1.3336 http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.h?cvsroot=gnash&r1=1.20&r2=1.21 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3335 retrieving revision 1.3336 diff -u -b -r1.3335 -r1.3336 --- ChangeLog 24 May 2007 11:41:00 -0000 1.3335 +++ ChangeLog 24 May 2007 11:46:28 -0000 1.3336 @@ -1,5 +1,11 @@ 2007-05-24 Sandro Santilli <[EMAIL PROTECTED]> + * backend/sound_handler_sdl.h: fix const-correctness + of active_sound (btw, do we really need two different + definitions of that class for SDL and GST ?). + +2007-05-24 Sandro Santilli <[EMAIL PROTECTED]> + * server/button_character_instance.cpp: protect vector elements dereferencing by assertions. I have a segfault triggered by a new uncommitted testcase replacing buttons... Index: backend/sound_handler_sdl.h =================================================================== RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -b -r1.20 -r1.21 --- backend/sound_handler_sdl.h 24 May 2007 08:48:02 -0000 1.20 +++ backend/sound_handler_sdl.h 24 May 2007 11:46:28 -0000 1.21 @@ -14,7 +14,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -// $Id: sound_handler_sdl.h,v 1.20 2007/05/24 08:48:02 strk Exp $ +// $Id: sound_handler_sdl.h,v 1.21 2007/05/24 11:46:28 strk Exp $ #ifndef SOUND_HANDLER_SDL_H #define SOUND_HANDLER_SDL_H @@ -75,7 +75,7 @@ /// Sound envelopes for the current sound, which determine the volume level /// from a given position. Only used with sound events. - std::vector<gnash::sound_handler::sound_envelope>* envelopes; + const std::vector<gnash::sound_handler::sound_envelope>* envelopes; /// Index of current envelope. uint32_t current_env; _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit