[vlc-devel] commit: Resolve crash in mozilla plugin pointed out by Alex Millet <A. millet89 at gmail.com> (JP Dinger )

git version control git at videolan.org
Sun Sep 13 13:36:25 CEST 2009


vlc | branch: master | JP Dinger <jpd at videolan.org> | Sun Sep 13 13:35:12 2009 +0200| [eca521d9aea416c56a71fe4e2887c48567dc0ea6] | committer: JP Dinger 

Resolve crash in mozilla plugin pointed out by Alex Millet <A.millet89 at gmail.com>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eca521d9aea416c56a71fe4e2887c48567dc0ea6
---

 projects/mozilla/vlcshell.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/projects/mozilla/vlcshell.cpp b/projects/mozilla/vlcshell.cpp
index 17bc548..8820c6c 100644
--- a/projects/mozilla/vlcshell.cpp
+++ b/projects/mozilla/vlcshell.cpp
@@ -559,7 +559,8 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
             {
                 if( p_plugin->b_autoplay )
                 {
-                    p_plugin->playlist_play(NULL);
+                    p_plugin->playlist_play(&ex);
+                    libvlc_exception_clear(&ex);
                 }
             }
             p_plugin->b_stream = true;




More information about the vlc-devel mailing list