• Fritz Koenig's avatar
    vp8cx : bestsad declared and initialized incorrectly. · cecdd73d
    Fritz Koenig authored
    bestsad should be an int initialized to INT_MAX.  The optimized
    SAD function expects a signed value for bestsad to use for comparison
    and early loop termination.  When no match is made, which is
    determined by a comparison of bestsad to INT_MAX, INT_MAX is returned.
mcomp.c 42.5 KB