refactor: fix sonar cpp:S936 (#5905)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-10-12 12:44:15 -04:00
1 parent d1fc311f6b
commit b261a1b95e
24 files changed
+295 -111

No files matched your search

+1 -1
View File
@@ -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 {