diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-22 21:34:27 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-22 21:34:27 +0000 |
commit | 9927fe4b42cf5d6cf612ddb250e32446a2a511e2 (patch) | |
tree | 241384c2f2035d8f6163ab21e0337e1c6079f951 /libvo/mga_common.c | |
parent | 93e3f1b2fb3c3e1fcfde36832729e41d5ef0b526 (diff) | |
download | mpv-9927fe4b42cf5d6cf612ddb250e32446a2a511e2.tar.bz2 mpv-9927fe4b42cf5d6cf612ddb250e32446a2a511e2.tar.xz |
fixed mga uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1638 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/mga_common.c')
-rw-r--r-- | libvo/mga_common.c | 5 |
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); +} |