gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server video_stream_instance.cpp


From: Tomas Groth
Subject: [Gnash-commit] gnash/server video_stream_instance.cpp
Date: Sat, 07 Apr 2007 12:25:57 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Tomas Groth <tgc>       07/04/07 12:25:57

Modified files:
        server         : video_stream_instance.cpp 

Log message:
        Ops, deleted the wrong "i"

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/video_stream_instance.cpp?cvsroot=gnash&r1=1.18&r2=1.19

Patches:
Index: video_stream_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/video_stream_instance.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- video_stream_instance.cpp   7 Apr 2007 11:55:50 -0000       1.18
+++ video_stream_instance.cpp   7 Apr 2007 12:25:57 -0000       1.19
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: video_stream_instance.cpp,v 1.18 2007/04/07 11:55:50 tgc Exp $
+// $Id: video_stream_instance.cpp,v 1.19 2007/04/07 12:25:57 tgc Exp $
 
 #include "sprite_instance.h"
 #include "video_stream_instance.h"
@@ -95,6 +95,7 @@
                        if (i)
                        {
                                gnash::render::drawVideoFrame(i, &m, &bounds);
+                               delete i;
                        }
                }
 
@@ -109,7 +110,6 @@
                if (i)
                {
                        gnash::render::drawVideoFrame(i, &m, &bounds);
-                       delete i;
                } else {
                        log_warning("An error occured while decoding video 
frame.");
                }




reply via email to

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