diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-02-15 17:58:08 +0800 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2022-02-18 16:54:11 +1100 |
commit | 656cb0450aeb73b25d7d26980af342b37ac4c568 (patch) | |
tree | f0b21e570c6e7099f4ea9f401f6f0706033a0c6a /libavfilter/af_loudnorm.c | |
parent | cc2b3201e712211476ca072fe481efa423fad9b9 (diff) | |
download | ffmpeg-656cb0450aeb73b25d7d26980af342b37ac4c568.tar.gz |
avcodec/vp3: Add missing check for av_malloc
Since the av_malloc() may fail and return NULL pointer,
it is needed that the 's->edge_emu_buffer' should be checked
whether the new allocation is success.
Fixes: d14723861b ("VP3: fix decoding of videos with stride > 2048")
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Diffstat (limited to 'libavfilter/af_loudnorm.c')
0 files changed, 0 insertions, 0 deletions