[FFmpeg-devel] [PATCH 2/7] avfilter/formats: Avoid allocations when merging formats and samplerates
Nicolas George
george at nsup.org
Wed Aug 19 20:07:42 EEST 2020
Andreas Rheinhardt (12020-08-15):
> 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.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> libavfilter/formats.c | 85 ++++++++++++-------------------------------
> 1 file changed, 24 insertions(+), 61 deletions(-)
LGTM, I think.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200819/00160dd0/attachment.sig>
More information about the ffmpeg-devel
mailing list