aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_tpad.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-01-27 07:00:48 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-01-28 17:18:27 +0100
commitab39f0d841cfcc95dc99ef788e22554fe46eb1c8 (patch)
tree1f0e7f6f454d62c57e1ef130b7a2e22ec8414911 /libavfilter/vf_tpad.c
parentfebd37f4bd9c8bb5290f1d72390e8228f7e02f30 (diff)
downloadffmpeg-ab39f0d841cfcc95dc99ef788e22554fe46eb1c8.tar.gz
avfilter/asrc_sinc: Don't allocate arrays separately
Besides the obvious advantages this also fixes a potential memleak: If only one of the arrays had been successfully allocated, the other would leak. This also fixes Coverity issues #1440386 and #1440387. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/vf_tpad.c')
0 files changed, 0 insertions, 0 deletions