summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/dvbsub.c3
1 files changed, 1 insertions, 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++];