libavcodec/mpc7.c:121: error: Integer Overflow L2
  ([0, 1020] - 510):unsigned32.

libavcodec/mpc7.c:115:1: <LHS trace>
113.  * Fill samples for given subband
114.  */
115. static inline void idx_to_quant(MPCContext *c, GetBitContext *gb, int idx, int *dst)
     ^
116. {
117.     int i, i1, t;

libavcodec/mpc7.c:115:1: Parameter `c->rnd.state[*]`
113.  * Fill samples for given subband
114.  */
115. static inline void idx_to_quant(MPCContext *c, GetBitContext *gb, int idx, int *dst)
     ^
116. {
117.     int i, i1, t;

libavcodec/mpc7.c:121:23: Call
119.     case -1:
120.         for(i = 0; i < SAMPLES_PER_BAND; i++){
121.             *dst++ = (av_lfg_get(&c->rnd) & 0x3FC) - 510;
                           ^
122.         }
123.         break;

libavutil/lfg.h:38:1: Parameter `c->state[*]`
  36.  * it may be good enough and faster for your specific use case.
  37.  */
  38. static inline unsigned int av_lfg_get(AVLFG *c){
      ^
  39.     c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63];
  40.     return c->state[c->index++ & 63];

libavutil/lfg.h:40:5: Assignment
  38. static inline unsigned int av_lfg_get(AVLFG *c){
  39.     c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63];
  40.     return c->state[c->index++ & 63];
          ^
  41. }
  42. 

libavcodec/mpc7.c:121:13: Binary operation: ([0, 1020] - 510):unsigned32
119.     case -1:
120.         for(i = 0; i < SAMPLES_PER_BAND; i++){
121.             *dst++ = (av_lfg_get(&c->rnd) & 0x3FC) - 510;
                 ^
122.         }
123.         break;
