You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't change the code style of FFmpeg original code. But use Clang formatter for our code. There is a config for clang-format-7 (.clang-format in the scripts folder of project). Hence, you need to install it locally and configure your IDE to format your code by using it.
Visual Studio Code
If you are using VS Code you just need to install corresponding extension clang-format and configure autoformat on save (you can find instruction on the extension page).
Different IDE
If you are using different IDE or text editor please find an appropriate instruction by yourself and suggest updates for this wiki. We would be glad to accept your contributions.