diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-02-15 17:58:08 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-06-04 20:18:19 +0200 |
commit | 5cd450dd7ae5f0b25c961fe761f8dbb4c8a7ddae (patch) | |
tree | 0de1ab54816ae0b56d84491e96a8c068e4e27bf0 /libavformat | |
parent | f8ef4290e3efbf52286f99d1139a07d959ce5506 (diff) | |
download | ffmpeg-5cd450dd7ae5f0b25c961fe761f8dbb4c8a7ddae.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>
(cherry picked from commit 656cb0450aeb73b25d7d26980af342b37ac4c568)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions