]> git.sesse.net Git - vlc/commitdiff
Resolve crash in mozilla plugin pointed out by Alex Millet <A.millet89@gmail.com>
authorJP Dinger <jpd@videolan.org>
Sun, 13 Sep 2009 11:35:12 +0000 (13:35 +0200)
committerJP Dinger <jpd@videolan.org>
Sun, 13 Sep 2009 11:35:12 +0000 (13:35 +0200)
projects/mozilla/vlcshell.cpp

index 17bc548ba9cb6ca91720aeea396e6612605e9763..8820c6c75157abe7fb9b1ee13942a5403c80efb7 100644 (file)
@@ -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;