diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-08 20:10:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-08 20:10:33 +0100 |
commit | 4f0e85517f5dcdba40f7b299b61997ecfc702440 (patch) | |
tree | c99be5a4ea02d9dc1a78e070a0d4b2aab780cde0 /libavformat/icodec.c | |
parent | e93523a06f27e08bf43725f49c179e0bab2c69cb (diff) | |
download | ffmpeg-4f0e85517f5dcdba40f7b299b61997ecfc702440.tar.gz |
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>
Diffstat (limited to 'libavformat/icodec.c')
-rw-r--r-- | libavformat/icodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/icodec.c b/libavformat/icodec.c index fa308da722..4c038e9614 100644 --- a/libavformat/icodec.c +++ b/libavformat/icodec.c @@ -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; } |