diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-07 16:08:42 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-23 23:24:04 +0200 |
commit | 27f35fd121e38b28daafb4f1ad47cf55b5e5ab71 (patch) | |
tree | 75aae139e1f31004da0af7b53a1a2f20117f2ead /libavcodec/rv34data.h | |
parent | c4beb0783bd2470edbcc8da9e264c7fe1c10d7cc (diff) | |
download | ffmpeg-27f35fd121e38b28daafb4f1ad47cf55b5e5ab71.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>
Diffstat (limited to 'libavcodec/rv34data.h')
0 files changed, 0 insertions, 0 deletions