lib70x: Fix a logic error introduced by unsigned integer underflow

This commit is contained in:
Solomon Peachy 2020-02-16 16:56:09 -05:00
parent 494a188f1a
commit bd65001ca4
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@
*/
#define LIB_VERSION "0.8.3"
#define LIB_VERSION "0.8.4"
#include <stdio.h>
#include <stdint.h>
@ -785,7 +785,7 @@ static void CImageEffect70_CalcFCC(struct CImageEffect70 *data)
static void CImageEffect70_CalcHTD(struct CImageEffect70 *data, const double *in, double *out)
{
uint32_t cur_row, offset;
int32_t cur_row, offset;
double *hk;
double *last, *first;
unsigned int i, k;