[libav-devel] [PATCH 023/264] mpegaudiodecheader: check the header in avpriv_mpegaudio_decode_header

Luca Barbato lu_zero at gentoo.org
Sun Dec 6 13:18:36 CET 2015


On 06/12/15 10:59, Anton Khirnov wrote:
> 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            |  7 ++++---
>  libavcodec/mpegaudiodec_template.c | 20 +++++++++-----------
>  libavcodec/mpegaudiodecheader.c    |  9 ++++++---
>  libavformat/mp3dec.c               | 12 +++++++-----
>  libavformat/mp3enc.c               |  5 +++--
>  5 files changed, 29 insertions(+), 24 deletions(-)
> 

Sounds ok.



More information about the libav-devel mailing list