summaryrefslogtreecommitdiffstats
path: root/libvo/mga_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/mga_common.c')
-rw-r--r--libvo/mga_common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 71d0ab6d0e..f0a8e9006f 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -211,3 +211,8 @@ static int mga_init(){
}
+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);
+}