summaryrefslogtreecommitdiff
path: root/libavfilter/asrc_sinc.c
Commit message (Collapse)AuthorAge
* avfilter/asrc_sinc: Don't allocate arrays separatelyAndreas Rheinhardt2020-01-28
| | | | | | | | | | 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>
* lavfi/sinc: fix memory leak in error handling pathJun Zhao2019-09-11
| | | | | | | free work&pi_wraps in error handling path to avoid memory leak. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avfilter: add sinc source filterPaul B Mahol2018-10-19
Signed-off-by: Paul B Mahol <onemda@gmail.com>