Commit aae47747 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

activex: vlccontrol: Fix potential crash

Fix cid #59956
parent 7da20bd3
......@@ -669,6 +669,8 @@ STDMETHODIMP VLCMarquee::get_text(BSTR *val)
STDMETHODIMP VLCMarquee::put_text(BSTR val)
char *psz_text = CStrFromBSTR(CP_UTF8, val);
if ( psz_text == nullptr )
_plug->get_player().get_mp().setMarqueeString( libvlc_marquee_Text, psz_text );
return S_OK;
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