1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 13:14:36 +00:00

Close /dev/tty again on uninit.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29401 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-06-26 15:41:34 +00:00
parent 158aca92ae
commit 32a7d61acc

View File

@ -1057,6 +1057,8 @@ static void uninit(void)
mp_msg(MSGT_VO, MSGL_WARN, "Can't restore text mode: %s\n", strerror(errno));
}
vt_set_textarea(0, fb_orig_vinfo.yres);
if (vt_fp)
fclose(vt_fp);
close(fb_tty_fd);
close(fb_dev_fd);
if (frame_buffer)