Commit dfffc4aa authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/dvbsub: remove unused variable

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ad465e78
...@@ -29,7 +29,7 @@ static int dvbsub_probe(AVProbeData *p) ...@@ -29,7 +29,7 @@ static int dvbsub_probe(AVProbeData *p)
{ {
int i, j, k; int i, j, k;
const uint8_t *end = p->buf + p->buf_size; const uint8_t *end = p->buf + p->buf_size;
int type, page_id, len; int type, len;
int max_score = 0; int max_score = 0;
for(i=0; i<p->buf_size; i++){ for(i=0; i<p->buf_size; i++){
...@@ -41,7 +41,7 @@ static int dvbsub_probe(AVProbeData *p) ...@@ -41,7 +41,7 @@ static int dvbsub_probe(AVProbeData *p)
if (*ptr != 0x0f) if (*ptr != 0x0f)
break; break;
type = ptr[1]; type = ptr[1];
page_id = AV_RB16(ptr + 2); //page_id = AV_RB16(ptr + 2);
len = AV_RB16(ptr + 4); len = AV_RB16(ptr + 4);
if (type == 0x80) { if (type == 0x80) {
; ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment