avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate

This commit is contained in:
Diego Biurrun
2013-03-25 16:12:51 +01:00
parent 4d7ed3e735
commit e0f8be6413
36 changed files with 55 additions and 53 deletions

View File

@@ -39,7 +39,7 @@ static int vc1t_probe(AVProbeData *p)
if (p->buf[3] != 0xC5 || AV_RL32(&p->buf[4]) != 4 || AV_RL32(&p->buf[20]) != 0xC)
return 0;
return AVPROBE_SCORE_MAX/2;
return AVPROBE_SCORE_EXTENSION;
}
static int vc1t_read_header(AVFormatContext *s)