[FFmpeg-devel] [PATCH] Remove struct named initializer from aac profile option.

Hendrik Leppkes h.leppkes at gmail.com
Tue Mar 26 10:49:39 EET 2024


On Tue, Mar 26, 2024 at 9:42 AM Muiz Yusuff <muiz.rpi at gmail.com> wrote:
>
> From: Muiz <muiz.dev at gmail.com>
>
> All fields of the stuct use unnamed struct initialization.
> Also omit the field name for `AVOption::unit` to maintain consistency.

"unit" intentionally uses designated initializers, so that adding new
fields before it is more robust and less prone to errors.

See 1e7d2007c3aca1cc1cd3b1ca409f4ded6c885f86

- Hendrik


More information about the ffmpeg-devel mailing list