mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
avformat/astdec: increase the score for odd samplerate/channels to max/8
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
eb96802355
commit
023953e964
@ -33,7 +33,7 @@ static int ast_probe(AVProbeData *p)
|
||||
if (!AV_RB16(p->buf + 10) ||
|
||||
!AV_RB16(p->buf + 12) || AV_RB16(p->buf + 12) > 256 ||
|
||||
!AV_RB32(p->buf + 16) || AV_RB32(p->buf + 16) > 8*48000)
|
||||
return 1;
|
||||
return AVPROBE_SCORE_MAX / 8;
|
||||
|
||||
return AVPROBE_SCORE_MAX / 3 * 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user