diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-14 00:18:09 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-20 21:31:01 +0200 |
commit | 363f93460fbce0a2ea073f7f64edc597405982a1 (patch) | |
tree | 489bbba7dc698ded926944ae59439bec5ea7d420 /libavresample | |
parent | 621e2625e0e37c41ea813f1113278a79f05f288a (diff) | |
download | ffmpeg-363f93460fbce0a2ea073f7f64edc597405982a1.tar.gz |
avfilter/formats: Avoid code duplication when merging samplerates
Right now, ff_merge_samplerates() contains three instances of the
MERGE_REF() macro, a macro which reallocates an array, updates some
pointers in a loop and frees several buffers. This commit makes it
possible to contain only one instance of said macro in the function,
thereby reducing codesize.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavresample')
0 files changed, 0 insertions, 0 deletions