libavcodec/dnxhdenc.c:580: error: Integer Overflow L2
  ([0, 2147483647] + [0, 2147483647]):signed32.

libavcodec/dnxhdenc.c:518:5: <LHS trace>
516. {
517.     int lambda, up_step, down_step;
518.     int last_lower = INT_MAX, last_higher = 0;
         ^
519.     int x, y, q;
520. 

libavcodec/dnxhdenc.c:518:5: Assignment
516. {
517.     int lambda, up_step, down_step;
518.     int last_lower = INT_MAX, last_higher = 0;
         ^
519.     int x, y, q;
520. 

libavcodec/dnxhdenc.c:518:5: <RHS trace>
516. {
517.     int lambda, up_step, down_step;
518.     int last_lower = INT_MAX, last_higher = 0;
         ^
519.     int x, y, q;
520. 

libavcodec/dnxhdenc.c:518:5: Assignment
516. {
517.     int lambda, up_step, down_step;
518.     int last_lower = INT_MAX, last_higher = 0;
         ^
519.     int x, y, q;
520. 

libavcodec/dnxhdenc.c:580:17: Binary operation: ([0, 2147483647] + [0, 2147483647]):signed32
578.                 return -1;
579.             else
580.                 lambda += up_step;
                     ^
581.             up_step = FFMIN((int64_t)up_step*5, INT_MAX);
582.             down_step = 1<<LAMBDA_FRAC_BITS;
