avformat/mp3dec: Require probing data to be 50% mp3 frames for low score probing...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 May 2018 16:33:27 +0000 (18:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 May 2018 11:17:36 +0000 (13:17 +0200)
commit60d179277972f2ab12ade0603e72f1eee9d15de8
tree05cbc958168063e24aa642e15fdc4ec89b7b605a
parent2b86472a65b7fe48f8467b669462b7972cc2f1ae
avformat/mp3dec: Require probing data to be 50% mp3 frames for low score probing to succeed

This massively reduces the detection of random data as low score mp3
It may improve security by making it harder to read non multimedia data

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mp3dec.c