mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 19:40:07 +01:00
@@ -26,8 +26,11 @@
|
|||||||
|
|
||||||
static int ast_probe(AVProbeData *p)
|
static int ast_probe(AVProbeData *p)
|
||||||
{
|
{
|
||||||
if (AV_RL32(p->buf) == MKTAG('S', 'T', 'R', 'M'))
|
if (AV_RL32(p->buf) == MKTAG('S','T','R','M') &&
|
||||||
return AVPROBE_SCORE_MAX / 2;
|
AV_RB16(p->buf + 10) &&
|
||||||
|
AV_RB16(p->buf + 12) &&
|
||||||
|
AV_RB32(p->buf + 16))
|
||||||
|
return AVPROBE_SCORE_MAX / 3 * 2;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user