diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-23 17:08:29 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-02 23:44:51 +0200 |
commit | 826c92975129b8262abb9c5dd536320601c23f77 (patch) | |
tree | c1e2d9abf157ec1a7e007821f2beaf701bfd4efc /libavutil/utils.c | |
parent | e66185eaeff1445074f6586cffa6e79c0e4fc9a3 (diff) | |
download | ffmpeg-826c92975129b8262abb9c5dd536320601c23f77.tar.gz |
avformat/hevc: Fix potential leak in case of ff_hevc_annexb2mp4_buf failure
ff_hevc_annexb2mp4_buf() could indicate an error, yet leave cleaning
after itself to the caller, so that a caller could not simply return the
error, but had to free the buffer first.
(Given that all current callers have set filter_ps = 0, this error can
currently not be triggered.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 680cd59bb21c7bce92789ff885c018207b0b90bc)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/utils.c')
0 files changed, 0 insertions, 0 deletions