[FFmpeg-devel] [PATCH 2/7] dvbsub: remove unused variable

Paul B Mahol onemda at gmail.com
Thu Mar 22 04:36:26 CET 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/dvbsub.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dvbsub.c b/libavcodec/dvbsub.c
index 301fc93..e6d7e68 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++];
-- 
1.7.7



More information about the ffmpeg-devel mailing list