comparison vc1test.c @ 3225:d7ddbfc4aea9 libavformat

Reduce probe score as it misdetects our flv file from the regression test. The only reason why it does not break them is that flv has the same score and happens to be first in the list.
author michael
date Tue, 15 Apr 2008 13:36:31 +0000
parents d993d7e321d6
children 7a0230981402
comparison
equal deleted inserted replaced
3224:0546606089c6 3225:d7ddbfc4aea9
33 static int vc1t_probe(AVProbeData *p) 33 static int vc1t_probe(AVProbeData *p)
34 { 34 {
35 if (p->buf[3] != 0xC5 && AV_RL32(&p->buf[4]) != 4) 35 if (p->buf[3] != 0xC5 && AV_RL32(&p->buf[4]) != 4)
36 return 0; 36 return 0;
37 37
38 return AVPROBE_SCORE_MAX; 38 return AVPROBE_SCORE_MAX/2;
39 } 39 }
40 40
41 static int vc1t_read_header(AVFormatContext *s, 41 static int vc1t_read_header(AVFormatContext *s,
42 AVFormatParameters *ap) 42 AVFormatParameters *ap)
43 { 43 {