changeset 5451:b716977c47d9

added vfw uninit
author alex
date Mon, 01 Apr 2002 13:26:38 +0000
parents f8daaed4f54f
children eb87391a5292
files libmpcodecs/vd_vfw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_vfw.c	Mon Apr 01 13:26:03 2002 +0000
+++ b/libmpcodecs/vd_vfw.c	Mon Apr 01 13:26:38 2002 +0000
@@ -60,7 +60,7 @@
 
 // uninit driver
 static void uninit(sh_video_t *sh){
-
+    vfw_close_video_codec(sh, (sh->codec->driver==VFM_VFWEX));
 }
 
 //mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, int w, int h);