• Tristan Matthews's avatar
    vp9: fix compilation for g++ 6.2.x · 32c37544
    Tristan Matthews authored
    Inline function called from test/dct16x16_test.cc wouldn't build due to:
      invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type
      {aka double}’ and ‘int’ to binary ‘operator>>’
      return (abs(ref->row) >> 3) < COMPANDED_MVREF_THRESH &&
    
    this converts the test to abs() < COMPANDED_MVREF_THRESH << 3 which
    hides the promotion issue.
    
    Regression from commit de993a84
    
    BUG=webm:1291
    
    Change-Id: I73b5943d07d5b61b709d299114216a2371a8fd62
    32c37544