Commit b47396b6 authored by Michael Niedermayer's avatar Michael Niedermayer

img2dec: detect .raw files only with a low score as img2

They can be many other things and this otherwise breaks probing of some .raw files.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 94f5470a
......@@ -179,6 +179,8 @@ static int read_probe(AVProbeData *p)
return AVPROBE_SCORE_MAX;
else if (is_glob(p->filename))
return AVPROBE_SCORE_MAX;
else if(av_match_ext(p->filename, "raw"))
return 5;
else
return AVPROBE_SCORE_MAX/2;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment