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-01 23:08:24 +0200 |
commit | 9b605dcdde36a2b6459fd714b26f797b10ee04ba (patch) | |
tree | 4bc1197adb5357cdb60dd949960fdcb1917e9a8c /libavformat/shortendec.c | |
parent | 31fa5fb84e816bf220c216367c99f9350af62256 (diff) | |
download | ffmpeg-9b605dcdde36a2b6459fd714b26f797b10ee04ba.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 'libavformat/shortendec.c')
0 files changed, 0 insertions, 0 deletions