Add .editorconfig, .gitignore and FFmpeg deprecation note

This commit is contained in:
spicyjpeg 2025-02-25 18:54:53 +01:00
parent b6c8a1c7b6
commit 982fad256e
No known key found for this signature in database
GPG Key ID: 5CC87404C01DF393
4 changed files with 29 additions and 13 deletions

9
.editorconfig Normal file
View File

@ -0,0 +1,9 @@
root = true
[*]
indent_style = tab
indent_size = 4
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
desktop.ini
.DS_Store
.vscode/
build/
.cache/
*.code-workspace

View File

@ -399,6 +399,7 @@ void close_av_data(settings_t *settings)
av_frame_free(&(av->frame));
swr_free(&(av->resampler));
// Deprecated, kept for compatibility with older FFmpeg versions.
avcodec_close(av->audio_codec_context);
avcodec_free_context(&(av->audio_codec_context));
avformat_free_context(av->format);