aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/utils.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-01-23 17:08:29 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-02 23:44:51 +0200
commit826c92975129b8262abb9c5dd536320601c23f77 (patch)
treec1e2d9abf157ec1a7e007821f2beaf701bfd4efc /libavutil/utils.c
parente66185eaeff1445074f6586cffa6e79c0e4fc9a3 (diff)
downloadffmpeg-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