Commit c2fba7f8 authored by Sergey Puzanov's avatar Sergey Puzanov Committed by JP Dinger

AddRef() was called on wrong object in SetPicture()

Signed-off-by: default avatarJP Dinger <jpd@videolan.org>
parent da500c77
...@@ -162,7 +162,7 @@ public: ...@@ -162,7 +162,7 @@ public:
if( NULL != _p_pict ) if( NULL != _p_pict )
_p_pict->Release(); _p_pict->Release();
if( NULL != pict ) if( NULL != pict )
_p_pict->AddRef(); pict->AddRef();
_p_pict = pict; _p_pict = pict;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment