[FFmpeg-cvslog] avformat/dvbsub: remove unused variable

Michael Niedermayer git at videolan.org
Wed Jan 7 18:23:15 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jan  7 17:20:39 2015 +0100| [dfffc4aadc7c8c615190ddb4a08cd451ac9b1020] | committer: Michael Niedermayer

avformat/dvbsub: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/dvbsub.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/dvbsub.c b/libavformat/dvbsub.c
index 57edc31..d52bc86 100644
--- a/libavformat/dvbsub.c
+++ b/libavformat/dvbsub.c
@@ -29,7 +29,7 @@ static int dvbsub_probe(AVProbeData *p)
 {
     int i, j, k;
     const uint8_t *end = p->buf + p->buf_size;
-    int type, page_id, len;
+    int type, len;
     int max_score = 0;
 
     for(i=0; i<p->buf_size; i++){
@@ -41,7 +41,7 @@ static int dvbsub_probe(AVProbeData *p)
                 if (*ptr != 0x0f)
                     break;
                 type    = ptr[1];
-                page_id = AV_RB16(ptr + 2);
+                //page_id = AV_RB16(ptr + 2);
                 len     = AV_RB16(ptr + 4);
                 if (type == 0x80) {
                     ;



More information about the ffmpeg-cvslog mailing list