From b60132ee12ac99e8b65fc82fb6686a76a27a63a1 Mon Sep 17 00:00:00 2001 From: voroshil Date: Wed, 29 Aug 2007 18:19:50 +0000 Subject: Small code simplification as suggested by Reimar: declare variables used only inside loop in those loop. Hope this will make code a bit easy to understand. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24300 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_vbi.c | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) (limited to 'stream') diff --git a/stream/tvi_vbi.c b/stream/tvi_vbi.c index 7c812fc9bc..50c5943174 100644 --- a/stream/tvi_vbi.c +++ b/stream/tvi_vbi.c @@ -566,28 +566,20 @@ static void destroy_cache(priv_vbi_t* priv){ */ static void decode_page(tt_char* p,int lang,unsigned char* raw) { - int c,gfx=0,lat=0; - int i=0; - int fg_color=0; - int bg_color=0; int row,col; - int separated=0; - int conceal; - int hold; - tt_char tt_held; for(row=0;row