Skip to content
Snippets Groups Projects
Commit b47396b6 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 94f5470a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment