Author | SHA1 | Message | Date |
---|---|---|---|
|
ab39f0d841 |
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> |
5 years ago |
|
944d76a3e0 |
lavfi/sinc: fix memory leak in error handling path
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> |
5 years ago |
|
8baaed7889 |
avfilter: add sinc source filter
Signed-off-by: Paul B Mahol <onemda@gmail.com> |
7 years ago |