mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 13:04:54 -04:00
libobs: Check for extension validity in os_generate_formatted_filename
In some cases (ffmpeg_mux), the extension and format values are a direct passthrough from arbitrary data. Instead of always postfixing a `.` at the end of a generated path if the extension is invalid, don't postfix the `.` at all. Before: `my_formatted_string.` After: `my_formatted_string`
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f