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

2024-09-13 Thread epirat07
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.

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

2024-09-13 Thread martin schitter
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

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

2024-09-13 Thread Marvin Scholz
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. --- doc/developer.texi | 101 - 1 file changed, 100 insertions(+), 1 deletion(-) diff --git a/doc