diff options
author | atlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-15 08:16:54 +0000 |
---|---|---|
committer | atlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-15 08:16:54 +0000 |
commit | 8a1579e34431b8360cf4646c6cb891f77490e467 (patch) | |
tree | 3799d52a53497be533e046c045e0e976c57fcb26 /libvo/sub.c | |
parent | bfeb215e95204d4afa2b895631d6e6e28e80d30d (diff) | |
download | mpv-8a1579e34431b8360cf4646c6cb891f77490e467.tar.bz2 mpv-8a1579e34431b8360cf4646c6cb891f77490e467.tar.xz |
corrected previous error ;-(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2206 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/sub.c')
-rw-r--r-- | libvo/sub.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 (j<len) continue; if (h>memy){ // 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; } |