Skip to content

fix: check vaapi encoder fail #570

fix: check vaapi encoder fail

fix: check vaapi encoder fail #570

Triggered via pull request January 3, 2025 05:07
@lzwindlzwind
synchronize #347
Status Success
Total duration 57s
Artifacts

cppcheck.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
cppcheck: libcam/libcam_encoder/encoder.c#L45
Include file: <libintl.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cppcheck: libcam/libcam_encoder/encoder.c#L46
Include file: <pciaccess.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cppcheck: libcam/libcam_encoder/encoder.c#L48
Include file: <va/va.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cppcheck: libcam/libcam_encoder/encoder.c#L50
Include file: "cameraconfig.h" not found.
cppcheck: libcam/libcam_encoder/encoder.c#L2162
Variable 'dev' can be declared as pointer to const
cppcheck: libcam/libcam_encoder/encoder.c#L2250
Parameter 'encoder_ctx' can be declared as pointer to const
cppcheck: libcam/libcam_encoder/encoder.c#L2252
Unused variable: iter
cppcheck: libcam/libcam_encoder/encoder.c#L2253
Unused variable: ret