diff options
author | James Almer <jamrial@gmail.com> | 2019-09-22 23:55:49 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-09-23 10:08:57 -0300 |
commit | 7df1cb3dce1e8cac2021b6773d9ab8ed511cd7ce (patch) | |
tree | ba5310569c219a8842d7adc5effe61d6210186a3 /libavcodec/sgienc.c | |
parent | 9b236547f480a012cab32f8cad2dfe02774537c1 (diff) | |
download | ffmpeg-7df1cb3dce1e8cac2021b6773d9ab8ed511cd7ce.tar.gz |
avcodec/bsf: check that AVBSFInternal was allocated before dereferencing it
This can happen when av_bsf_free() is called on av_bsf_alloc() failure.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit d889ae33962e4ad2b24175418fe89d72ce712179)
Diffstat (limited to 'libavcodec/sgienc.c')
0 files changed, 0 insertions, 0 deletions