]> git.sesse.net Git - vlc/commitdiff
AddRef() was called on wrong object in SetPicture()
authorSergey Puzanov <snark@undev.ru>
Thu, 18 Jun 2009 11:05:17 +0000 (15:05 +0400)
committerJP Dinger <jpd@videolan.org>
Thu, 18 Jun 2009 12:12:16 +0000 (14:12 +0200)
Signed-off-by: JP Dinger <jpd@videolan.org>
projects/activex/plugin.h

index a760c9be4fe8f4d36cd9fea7a90ffaab2f0781c5..867f2d17da60ca45880d1319c8597ef2262f7806 100644 (file)
@@ -162,7 +162,7 @@ public:
         if( NULL != _p_pict )
             _p_pict->Release();
         if( NULL != pict )
-            _p_pict->AddRef();
+            pict->AddRef();
         _p_pict = pict;
     };