mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/icodec: reduce score returned on probing
The ico probe function is pretty weak just checking a few bytes for being 0, 1 or not 0 Fixes probetest failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e93523a06f
commit
4f0e85517f
@ -45,7 +45,7 @@ typedef struct {
|
||||
static int probe(AVProbeData *p)
|
||||
{
|
||||
if (AV_RL16(p->buf) == 0 && AV_RL16(p->buf + 2) == 1 && AV_RL16(p->buf + 4))
|
||||
return AVPROBE_SCORE_MAX / 3;
|
||||
return AVPROBE_SCORE_MAX / 4;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user