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

activex: vlccontrol: Fix potential crash

Fix cid #59955
parent aae47747
......@@ -511,6 +511,8 @@ STDMETHODIMP VLCDeinterlace::disable()
STDMETHODIMP VLCDeinterlace::enable(BSTR mode)
char *psz_mode = CStrFromBSTR(CP_UTF8, mode);
if ( psz_mode == nullptr )
_plug->get_player().get_mp().setDeinterlace( psz_mode );
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