Commit 2cb745e4 authored by Sergey Puzanov's avatar Sergey Puzanov Committed by Jean-Baptiste Kempf

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

Signed-off-by: 's avatarJP Dinger <jpd@videolan.org>
parent 787ff283
......@@ -162,7 +162,7 @@ public:
if( NULL != _p_pict )
_p_pict->Release();
if( NULL != pict )
_p_pict->AddRef();
pict->AddRef();
_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