Commit 40b51fdf authored by Jonas Svedberg's avatar Jonas Svedberg
Browse files

MSVQ compile time warning for p2 initilization fixed

parent 049a3cd0
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -560,6 +560,7 @@ void msvq_enc(
            /* Subtract codebook entry from residual vector of parent node  */
            p1 = resid[0] + parents[c] * N;
#ifdef  FIX_621_MSVQ_UBSAN_NULL_PTR_OFFSET
            p2 = NULL;
            if (cb_stage != NULL )
            {
                p2 = cb_stage + ( indices[1][c * stages + s] ) * maxn; /* regular ptr init */