Re: [FFmpeg-devel] [PATCH] all: use designated initializers for AVOption.unit

2024-02-11 Thread Anton Khirnov
Quoting Michael Niedermayer (2024-02-11 21:39:17) > some of these have formatting issues: > (havent really reviewd just saw when applying locally) Yes, Coccinelle unfortunately does that, as mentioned in the commit message. I've fixed those I noticed, which was not all apparently. Fixed the two

Re: [FFmpeg-devel] [PATCH] all: use designated initializers for AVOption.unit

2024-02-11 Thread Michael Niedermayer
On Sun, Feb 11, 2024 at 06:08:28PM +0100, Anton Khirnov wrote: > Makes it robust against adding fields before it, which will be useful in > following commits. > > Majority of the patch generated by the following Coccinelle script: > > @@ > typedef AVOption; > identifier arr_name; > initializer