libavcodec/lagarith.c:383: error: Integer Overflow L2
  ([0, +oo] - 8):unsigned32 by call to `lag_rac_init`.

libavcodec/lagarith.c:380:13: Call
378.         init_get_bits(&gb, src + offset, src_size * 8);
379. 
380.         if (lag_read_prob_header(&rac, &gb) < 0)
                 ^
381.             return -1;
382. 

libavcodec/lagarith.c:133:1: Parameter `rac->scale`
  131. }
  132. 
  133. static int lag_read_prob_header(lag_rac *rac, GetBitContext *gb)
       ^
  134. {
  135.     int i, j, scale_factor;

libavcodec/lagarith.c:383:9: Call
381.             return -1;
382. 
383.         lag_rac_init(&rac, &gb, length - stride);
             ^
384. 
385.         for (i = 0; i < height; i++)

libavcodec/lagarithrac.c:33:1: <LHS trace>
31. #include "lagarithrac.h"
32. 
33. void lag_rac_init(lag_rac *l, GetBitContext *gb, int length)
    ^
34. {
35.     int i, j;

libavcodec/lagarithrac.c:33:1: Parameter `l->scale`
  31. #include "lagarithrac.h"
  32. 
  33. void lag_rac_init(lag_rac *l, GetBitContext *gb, int length)
      ^
  34. {
  35.     int i, j;

libavcodec/lagarithrac.c:47:23: Binary operation: ([0, +oo] - 8):unsigned32 by call to `lag_rac_init` 
  45.     l->range        = 0x80;
  46.     l->low          = *l->bytestream >> 1;
  47.     l->hash_shift   = FFMAX(l->scale - 8, 0);
                            ^
  48. 
  49.     for (i = j = 0; i < 256; i++) {
