|  | @@ -380,7 +380,7 @@ static av_cold int initFilter(int16_t **outFilter, int32_t **filterPos, | 
														
													
														
															
																|  |  | (*filterPos)[i] = xx; |  |  | (*filterPos)[i] = xx; | 
														
													
														
															
																|  |  | // bilinear upscale / linear interpolate / area averaging |  |  | // bilinear upscale / linear interpolate / area averaging | 
														
													
														
															
																|  |  | for (j = 0; j < filterSize; j++) { |  |  | for (j = 0; j < filterSize; j++) { | 
														
													
														
															
																|  |  | int64_t coeff= fone - FFABS(((int64_t)xx<<16) - xDstInSrc)*(fone>>16); |  |  |  | 
														
													
														
															
																|  |  |  |  |  | int64_t coeff = fone - FFABS((int64_t)xx * (1 << 16) - xDstInSrc) * (fone >> 16); | 
														
													
														
															
																|  |  | if (coeff < 0) |  |  | if (coeff < 0) | 
														
													
														
															
																|  |  | coeff = 0; |  |  | coeff = 0; | 
														
													
														
															
																|  |  | filter[i * filterSize + j] = coeff; |  |  | filter[i * filterSize + j] = coeff; | 
														
													
												
													
														
															
																|  | 
 |