[FFmpeg-devel] [PATCH v2 1/2] doc/developer: add examples to clarify code style

epirat07 at gmail.com epirat07 at gmail.com
Sat Sep 14 01:35:17 EEST 2024



On 14 Sep 2024, at 0:12, martin schitter wrote:

> These a very helpful instructive examples.
>
> Nevertheless, I would highly prefer a preconfigured `make fmt` command, which works similar to `cargo fmt` or `deno fmt` and corrects and checks formating issues without any human intervention. That's IMHO more productive than constantly work against the default behavior of ones beloved code editor or educative/social pressure to adapt to a project specific kind of cosmetic code modification.
>

I agree it would be nice to have an easy way, like clang-format or so,
but I doubt it will happen any time soon as its not trivial to do I think…

> martin
>
> On 18.05.24 19:00, Marvin Scholz wrote:
>> Given the frequency that new developers, myself included, get the
>> code style wrong, it is useful to add some examples to clarify how
>> things should be done.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list