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
@@ -33,7 +33,7 @@ namespace platf {
CVPixelBufferRelease((CVPixelBufferRef) data);
}
util::safe_ptr<AVFrame, free_frame> av_frame; ///< AV frame.
util::safe_ptr<AVFrame, &free_frame> av_frame; ///< AV frame.
int nv12_zero_device::convert(platf::img_t &img) {
auto *av_img = (av_img_t *) &img;