Skip to content
Snippets Groups Projects
Commit af395076 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

hw:d3d11: attempt to avoid a weird crash


(cherry picked from commit 5234057a)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent be1087aa
No related branches found
Tags 3.0.0-2
No related merge requests found
......@@ -570,7 +570,8 @@ void D3D11CloseDeinterlace(vlc_object_t *obj)
filter_t *filter = (filter_t *)obj;
filter_sys_t *sys = filter->p_sys;
ID3D11VideoProcessorOutputView_Release(sys->processorOutput);
if (likely(sys->processorOutput))
ID3D11VideoProcessorOutputView_Release(sys->processorOutput);
ID3D11Texture2D_Release(sys->outTexture);
ID3D11VideoProcessor_Release(sys->videoProcessor);
ID3D11VideoProcessorEnumerator_Release(sys->procEnumerator);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment