Browse Source

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>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
4f0e85517f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/icodec.c

+ 1
- 1
libavformat/icodec.c View File

@@ -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…
Cancel
Save