mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avformat/rka: improve probing
This commit is contained in:
parent
b5534b94df
commit
4113445e9d
@ -42,7 +42,7 @@ static int rka_probe(const AVProbeData *p)
|
|||||||
p->buf[12] > 0 &&
|
p->buf[12] > 0 &&
|
||||||
p->buf[12] <= 2 &&
|
p->buf[12] <= 2 &&
|
||||||
(p->buf[13] == 8 || p->buf[13] == 16) &&
|
(p->buf[13] == 8 || p->buf[13] == 16) &&
|
||||||
p->buf[15] & 2 != 0)
|
(p->buf[15] & 2) != 0)
|
||||||
return AVPROBE_SCORE_EXTENSION + 30;
|
return AVPROBE_SCORE_EXTENSION + 30;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user