diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-23 17:08:29 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-01-26 12:41:31 -0300 |
commit | 680cd59bb21c7bce92789ff885c018207b0b90bc (patch) | |
tree | b62b075c3303b0e9d4e6a74db05d4ef2e8edc24b /compat | |
parent | e4749a44979e8d403021d265623e9233fee0dae4 (diff) | |
download | ffmpeg-680cd59bb21c7bce92789ff885c018207b0b90bc.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>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions