From 8a1579e34431b8360cf4646c6cb891f77490e467 Mon Sep 17 00:00:00 2001 From: atlka Date: Mon, 15 Oct 2001 08:16:54 +0000 Subject: [PATCH] corrected previous error ;-( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2206 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/sub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libvo/sub.c b/libvo/sub.c index 6e2acea08b..fbae4e0f83 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -185,6 +185,7 @@ inline static void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,in } if (k==MAX_UCS){ len=j; // end here + printf ("\nMAX_UCS exceeded!\n"); } if (!c) c++; // avoid UCS 0 if (c==' '){ @@ -211,7 +212,7 @@ inline static void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,in } else if (jmemy){ // out of the screen so end parsing - h -=lasth - vo_font->height; // correct the y position + memy -= lasth - vo_font->height; // correct the y position l=0; break; }