Mercurial > mplayer.hg
changeset 29359:49f3eca2389b
Close /dev/tty again on uninit.
author | reimar |
---|---|
date | Fri, 26 Jun 2009 15:41:34 +0000 |
parents | 7b2a6a462bfc |
children | cac9b1442efe |
files | libvo/vo_fbdev.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_fbdev.c Fri Jun 26 15:39:35 2009 +0000 +++ b/libvo/vo_fbdev.c Fri Jun 26 15:41:34 2009 +0000 @@ -1057,6 +1057,8 @@ 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)