Skip to content

Commit

Permalink
警告対策。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Aug 6, 2024
1 parent 5b3972a commit 3fb4571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NVEncCore/convert_csp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2449,7 +2449,7 @@ const ConvertCSP *get_convert_csp_func(RGY_CSP csp_from, RGY_CSP csp_to, bool uv
return convert;
}

const funcConvertCSP get_copy_alpha_func(RGY_CSP csp_from, RGY_CSP csp_to) {
funcConvertCSP get_copy_alpha_func(RGY_CSP csp_from, RGY_CSP csp_to) {
const auto csp_base_from = rgy_csp_alpha_base(csp_from);
const auto csp_base_to = rgy_csp_alpha_base(csp_to);
if (csp_base_from != RGY_CSP_NA && csp_base_to != RGY_CSP_NA) {
Expand Down
2 changes: 1 addition & 1 deletion NVEncCore/convert_csp.h
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ typedef struct ConvertCSP {
} ConvertCSP;

const ConvertCSP *get_convert_csp_func(RGY_CSP csp_from, RGY_CSP csp_to, bool uv_only, RGY_SIMD simd);
const funcConvertCSP get_copy_alpha_func(RGY_CSP csp_from, RGY_CSP csp_to);
funcConvertCSP get_copy_alpha_func(RGY_CSP csp_from, RGY_CSP csp_to);
const TCHAR *get_simd_str(RGY_SIMD simd);

enum RGY_FRAME_FLAGS : uint32_t {
Expand Down

0 comments on commit 3fb4571

Please sign in to comment.