# HG changeset patch # User reimar # Date 1304798438 0 # Node ID 658f24bbf9b7cc8717abd5b9715d1562073d3062 # Parent f5805f8c14c1494af593bb75d190b70a800a3723 Remove unused variable. diff -r f5805f8c14c1 -r 658f24bbf9b7 libmpcodecs/dec_teletext.c --- a/libmpcodecs/dec_teletext.c Sat May 07 19:56:48 2011 +0000 +++ b/libmpcodecs/dec_teletext.c Sat May 07 20:00:38 2011 +0000 @@ -1639,7 +1639,7 @@ */ static void vbi_add_dec(priv_vbi_t * priv, char *dec) { - int count, shift; + int count; if (!dec) return; if (!priv->on) @@ -1658,7 +1658,6 @@ else priv->pagenumdec=0; } else { - shift = count * 4; count++; priv->pagenumdec= (((priv->pagenumdec)<<4|(*dec-'0'))&0xfff)|(count<<12);