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

dxa9: fix crash when there is not extra converter

It's a legit case already handled in various places.
parent d5ad9d6a
No related branches found
No related tags found
Loading
Pipeline #391129 passed with stages
in 22 minutes and 35 seconds
......@@ -450,7 +450,8 @@ int D3D9OpenConverter( filter_t *p_filter )
static void D3D9CloseCPUConverter( filter_t *p_filter )
{
filter_sys_t *p_sys = p_filter->p_sys;
DeleteFilter(p_sys->filter);
if (p_sys->filter != NULL)
DeleteFilter(p_sys->filter);
if (p_sys->staging)
picture_Release(p_sys->staging);
vlc_video_context_Release(p_filter->vctx_out);
......
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