summaryrefslogtreecommitdiff
path: root/libavformat/dvbsub.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-07 17:20:39 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-07 17:21:31 +0100
commitdfffc4aadc7c8c615190ddb4a08cd451ac9b1020 (patch)
tree3af7f25cb1225c7c258504975b5235f07fcf5a2b /libavformat/dvbsub.c
parentad465e789721194a6bc08a0b02dbbd9b19960f41 (diff)
avformat/dvbsub: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/dvbsub.c')
-rw-r--r--libavformat/dvbsub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/dvbsub.c b/libavformat/dvbsub.c
index 57edc31cc4..d52bc861eb 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) {
;