diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-30 17:51:13 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-30 17:51:13 +0000 |
commit | 89562c1e3d480dc97df7775e6fb9ba88ed51a017 (patch) | |
tree | d694830434b28f3eec271693fe7b1dfa2e0a0326 /libvo | |
parent | 2b84c7c6541dd7d127898719d279a0da8c58283f (diff) |
10L
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7981 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_fbdev.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c index e86a15a652..bea7837ab5 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -834,8 +834,10 @@ static void vt_set_textarea(int u, int l) if (verbose > 1) printf(FBDEV "vt_set_textarea(%d,%d): %d,%d\n", u, l, urow, lrow); - fprintf(vt_fp, "\33[%d;%dr\33[%d;%dH", urow, lrow, lrow, 0); - fflush(vt_fp); + if(vt_fp) { + fprintf(vt_fp, "\33[%d;%dr\33[%d;%dH", urow, lrow, lrow, 0); + fflush(vt_fp); + } } static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, |