From f1c69546c06d0a92057737d7a17e7aec5e875eae Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 22 Mar 2012 03:36:26 +0000 Subject: [PATCH] dvbsub: remove unused variable Signed-off-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavcodec/dvbsub.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/dvbsub.c b/libavcodec/dvbsub.c index 301fc93207..e6d7e68bcd 100644 --- a/libavcodec/dvbsub.c +++ b/libavcodec/dvbsub.c @@ -199,7 +199,7 @@ static void dvb_encode_rle8(uint8_t **pq, int w, int h) { uint8_t *q; - int x, y, len, x1, f, color; + int x, y, len, x1, color; q = *pq; @@ -207,7 +207,6 @@ static void dvb_encode_rle8(uint8_t **pq, *q++ = 0x12; x = 0; - f = 0; while (x < w) { x1 = x; color = bitmap[x1++];