]> git.sesse.net Git - ffmpeg/commit
libavcodec/mpegaudiodecheader.h : detect reserved mpeg id
authorKarsten Otto <ottoka@posteo.de>
Sun, 8 Jul 2018 10:26:10 +0000 (12:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Jul 2018 01:25:53 +0000 (03:25 +0200)
commit3bf39f2aeff0defcc11454c497b6ea0ffbcd17ca
treedd3aaafefeb14562518c551a5a71532c70d8e52c
parenteb776a16ea3c02096ee4eff2f12da0f03cb03ef3
libavcodec/mpegaudiodecheader.h : detect reserved mpeg id

Check the MPEG version ID for the reserved bit pattern 01, and abort the
header check in that case. This reduces the chance of misinterpreting
arbitrary data as a valid header, and prevents resulting audio artifacts.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpegaudiodecheader.h