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:11:02 -0300 |
commit | 11cce24e04e186e29360fd0142db4f2af461c5b6 (patch) | |
tree | 5aab6bc90f12ba61bb07c70a235a3b5336dff935 /libavcodec/avs.c | |
parent | 60094fc2f552aace794395648110408a6eb825ad (diff) | |
download | ffmpeg-11cce24e04e186e29360fd0142db4f2af461c5b6.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/avs.c')
0 files changed, 0 insertions, 0 deletions