diff libvo/mga_common.c @ 1637:248972c26eee

fixed mga uninit
author arpi
date Wed, 22 Aug 2001 21:34:27 +0000
parents 0375ced94bd7
children a8145a712f25
line wrap: on
line diff
--- a/libvo/mga_common.c	Wed Aug 22 21:34:10 2001 +0000
+++ b/libvo/mga_common.c	Wed Aug 22 21:34:27 2001 +0000
@@ -211,3 +211,8 @@
 
 }
 
+static int mga_uninit(){
+	ioctl( f,MGA_VID_OFF,0 );
+	munmap(frames[0],mga_vid_config.frame_size*mga_vid_config.num_frames);
+	close(f);
+}