aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/buffer.h
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 10:10:04 +0200
commit89e3ecb725d01f8a215643197cd5806ed6a172d1 (patch)
tree7f7f4d883c73852a026f3a930233af7ed2b26028 /libavutil/buffer.h
parentffd216b5ed79e5d8c5d555a4a3762b78c2a6188c (diff)
downloadffmpeg-89e3ecb725d01f8a215643197cd5806ed6a172d1.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/buffer.h')
0 files changed, 0 insertions, 0 deletions