OSDN Git Service

mpegaudiodecheader: check the header in avpriv_mpegaudio_decode_header
authorAnton Khirnov <anton@khirnov.net>
Fri, 9 Oct 2015 13:16:46 +0000 (15:16 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 12 Dec 2015 20:25:42 +0000 (21:25 +0100)
commit955aec3c7c7be39b659197e1ec379a09f2b7c41c
tree492417dfa6f76fc48144e966f762c4176e6a4706
parentcea1eef25c3310a68dd327eb74aae14ad3c2ddef
mpegaudiodecheader: check the header in avpriv_mpegaudio_decode_header

Almost all the places from which this function is called already check
the header manually and in the two that don't (the mp3 muxer) the check
should not cause any problems.
libavcodec/libmp3lame.c
libavcodec/mpegaudiodec_template.c
libavcodec/mpegaudiodecheader.c
libavformat/mp3dec.c
libavformat/mp3enc.c