diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2023-04-17 10:32:51 +0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-04-16 23:36:03 -0300 |
commit | b9ba036680b4164f6e415a85877dfa659ae4dde1 (patch) | |
tree | 10cbcfbb844e5b51168952e0bab363f7d952eebe /libavutil/hwcontext_videotoolbox.c | |
parent | f8d0b13de5fe1a3d158dcc6f419c45c368b1dd4f (diff) | |
download | ffmpeg-b9ba036680b4164f6e415a85877dfa659ae4dde1.tar.gz |
avcodec/msvideo1enc: Add check for av_malloc
Add the check for the return value of the av_malloc in order to avoid
NULL pointer deference.
Fixes: e4be3485af ("MS Video 1 encoder")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Diffstat (limited to 'libavutil/hwcontext_videotoolbox.c')
0 files changed, 0 insertions, 0 deletions