aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aadec.c
diff options
context:
space:
mode:
authorKarsten Otto <ottoka@posteo.de>2018-07-08 12:26:10 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2018-07-09 03:25:53 +0200
commit3bf39f2aeff0defcc11454c497b6ea0ffbcd17ca (patch)
treedd3aaafefeb14562518c551a5a71532c70d8e52c /libavformat/aadec.c
parenteb776a16ea3c02096ee4eff2f12da0f03cb03ef3 (diff)
downloadffmpeg-3bf39f2aeff0defcc11454c497b6ea0ffbcd17ca.tar.gz
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>
Diffstat (limited to 'libavformat/aadec.c')
0 files changed, 0 insertions, 0 deletions