[FFmpeg-cvslog] dvbsub: remove unused variable

Paul B Mahol git at videolan.org
Thu Mar 22 14:03:31 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Mar 22 03:36:26 2012 +0000| [f1c69546c06d0a92057737d7a17e7aec5e875eae] | committer: Michael Niedermayer

dvbsub: remove unused variable

Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1c69546c06d0a92057737d7a17e7aec5e875eae
---

 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++];



More information about the ffmpeg-cvslog mailing list