diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2023-04-17 10:32:12 +0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-04-16 23:36:03 -0300 |
commit | f8d0b13de5fe1a3d158dcc6f419c45c368b1dd4f (patch) | |
tree | 7e6e8467ed335fbe615c4ef57cc91ee005597bfb /libavcodec/clearvideodata.h | |
parent | a3f49168dcbf3ad7c60db065f40af60427a55a96 (diff) | |
download | ffmpeg-f8d0b13de5fe1a3d158dcc6f419c45c368b1dd4f.tar.gz |
avcodec/rv34: Add check for av_malloc
Add the check for the return value of the av_malloc in order to avoid
NULL pointer deference.
Fixes: b86ab38137 ("Add weighted motion compensation for RV40 B-frames")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Diffstat (limited to 'libavcodec/clearvideodata.h')
0 files changed, 0 insertions, 0 deletions