diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-13 21:20:22 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-20 01:35:26 +0200 |
commit | c0aa3dfaa8ecdb85d735edef8b6b741fa074d44d (patch) | |
tree | a00be5564ba0a55e749ea632ed437ac61c6e961b /libavcodec/roqvideoenc.c | |
parent | 55eb24a92fdb44da65364da61917f085286a48d2 (diff) | |
download | ffmpeg-c0aa3dfaa8ecdb85d735edef8b6b741fa074d44d.tar.gz |
avfilter/formats: Avoid allocations when merging formats and samplerates
This is the analogue of cfc65520324ae640299bd321ef88ae76dcee6f78 for
formats and samplerates; in contrast to said commit, one can avoid
allocating a new array for formats as well (the complications of the
generic channel layouts made this impossible for channel layouts).
This commit also starts to move the line continuation '\' chars to the
left to keep them in line with MERGE_REF() as well as with the 80 lines
limit.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/roqvideoenc.c')
0 files changed, 0 insertions, 0 deletions