summaryrefslogtreecommitdiff
path: root/libavcodec/dvbsub.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-03-22 03:36:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2012-03-22 13:41:48 +0100
commitf1c69546c06d0a92057737d7a17e7aec5e875eae (patch)
tree8fed63cc5fb915a8f8852707c28ea92ab4eb9a4e /libavcodec/dvbsub.c
parent53c896770c1c91a6df480ebbef87062040e13e74 (diff)
dvbsub: remove unused variable
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvbsub.c')
-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++];