mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Fix const qualifier warning
Also set the warning to an error in VS.
This commit is contained in:
parent
b0c3ece31e
commit
f8edf28161
|
@ -16,7 +16,7 @@
|
|||
<AdditionalIncludeDirectories>$(SolutionDir)..\..\pthreads.2\include;$(SolutionDir)..\src;$(SolutionDir)..\src\extras;$(SolutionDir)..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DisableSpecificWarnings>4244;4204;4206;4028;4152;4996;4018;4456;4389;4100;4131;4459</DisableSpecificWarnings>
|
||||
<OpenMPSupport>false</OpenMPSupport>
|
||||
<TreatSpecificWarningsAsErrors>4013;4029;4047;4716;4700;4020;4021;4133</TreatSpecificWarningsAsErrors>
|
||||
<TreatSpecificWarningsAsErrors>4013;4029;4047;4716;4700;4020;4021;4133;4090</TreatSpecificWarningsAsErrors>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||
|
|
|
@ -61,7 +61,7 @@ static INLINE bool fracmv_within_tile(const encoder_state_t *state, const vector
|
|||
|
||||
static INLINE int get_wpp_limit(const encoder_state_t *state, const vector2d_t* orig)
|
||||
{
|
||||
encoder_control_t *ctrl = state->encoder_control;
|
||||
const encoder_control_t *ctrl = state->encoder_control;
|
||||
if (ctrl->owf && ctrl->wpp) {
|
||||
// Limit motion vectors to the LCU-row below this row.
|
||||
// To avoid fractional pixel interpolation depending on things outside
|
||||
|
|
Loading…
Reference in a new issue