[MPlayer-cvslog] r29401 - trunk/libvo/vo_fbdev.c

reimar subversion at mplayerhq.hu
Fri Jun 26 17:41:34 CEST 2009


Author: reimar
Date: Fri Jun 26 17:41:34 2009
New Revision: 29401

Log:
Close /dev/tty again on uninit.

Modified:
   trunk/libvo/vo_fbdev.c

Modified: trunk/libvo/vo_fbdev.c
==============================================================================
--- trunk/libvo/vo_fbdev.c	Fri Jun 26 17:39:35 2009	(r29400)
+++ trunk/libvo/vo_fbdev.c	Fri Jun 26 17:41:34 2009	(r29401)
@@ -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)


More information about the MPlayer-cvslog mailing list