mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-11-30 17:18:42 +00:00
refactor: fix sonar cpp:S936 (#5905)
This commit is contained in:
1 parent
d1fc311f6b
commit
b261a1b95e
24 files changed
+295
-111
No files matched your search
@@ -47,7 +47,7 @@ static void free_frame(AVFrame *frame) {
|
||||
/**
|
||||
* @brief FFmpeg hardware frame pointer released with `av_frame_free`.
|
||||
*/
|
||||
using frame_t = util::safe_ptr<AVFrame, free_frame>;
|
||||
using frame_t = util::safe_ptr<AVFrame, &free_frame>;
|
||||
|
||||
namespace platf::dxgi {
|
||||
|
||||
|
||||
Reference in new issue
Block a user