1
0
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:
Paul B Mahol 2023-02-14 09:55:02 +01:00
parent b5534b94df
commit 4113445e9d

View File

@ -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;
} }