summaryrefslogtreecommitdiffstats
path: root/dec_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'dec_video.c')
-rw-r--r--dec_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dec_video.c b/dec_video.c
index a2e2dbe857..39c4925988 100644
--- a/dec_video.c
+++ b/dec_video.c
@@ -150,7 +150,7 @@ int uninit_video(sh_video_t *sh_video){
mp_msg(MSGT_DECVIDEO,MSGL_ERR, "could not close codec\n");
break;
#endif
-#ifndef USE_DIRECTSHOW
+#ifdef USE_DIRECTSHOW
case VFM_DSHOW: // Win32/DirectShow
DS_VideoDecoder_Close();
break;