gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/server movie_def_impl.cpp


From: Vitaly Alexeev
Subject: [Gnash-commit] gnash/server movie_def_impl.cpp
Date: Wed, 26 Jul 2006 11:54:27 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Vitaly Alexeev <alexeev>        06/07/26 11:54:27

Modified files:
        server         : movie_def_impl.cpp 

Log message:
        fixing bug #17110

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_def_impl.cpp?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: movie_def_impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_def_impl.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- movie_def_impl.cpp  28 Jun 2006 23:27:44 -0000      1.12
+++ movie_def_impl.cpp  26 Jul 2006 11:54:27 -0000      1.13
@@ -361,6 +361,10 @@
     m_frame_rate = str.read_u16() / 256.0f;
     m_frame_count = str.read_u16();
 
+               // hack
+               // Vitaly: I am not assured that it correctly
+               m_frame_count = (m_frame_count == 0) ? 1 : m_frame_count;
+
     m_playlist.resize(m_frame_count);
     m_init_action_list.resize(m_frame_count);
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]