aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/qsvdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-07 16:08:42 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:20:57 +0100
commit662ef103671e943c8c02badb1f94c760fb23dbe6 (patch)
tree9a9f3631f01071e41fee31398c2dd5c169d3f9f2 /doc/examples/qsvdec.c
parent4a95c96eb76b7580e7e3b2440c33afc4cfdf4c97 (diff)
downloadffmpeg-662ef103671e943c8c02badb1f94c760fb23dbe6.tar.gz
avfilter/af_amix: Don't needlessly reallocate table
Replace using ff_add_format() repeatedly by a single call to ff_make_format_list(). (Right now this also fixes a memleak: If the first ff_add_format() succeeds and a subsequent call fails, the list leaks.) Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 27f35fd121e38b28daafb4f1ad47cf55b5e5ab71)
Diffstat (limited to 'doc/examples/qsvdec.c')
0 files changed, 0 insertions, 0 deletions