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

libavcodec/mpc7.c:147:1: <LHS trace>
145.  * Fill samples for given subband
146.  */
147. static inline void idx_to_quant(MPCContext *c, BitstreamContext *bc, int idx, int *dst)
     ^
148. {
149.     int i, i1, t;

libavcodec/mpc7.c:147:1: Parameter `c->rnd.state[*]`
145.  * Fill samples for given subband
146.  */
147. static inline void idx_to_quant(MPCContext *c, BitstreamContext *bc, int idx, int *dst)
     ^
148. {
149.     int i, i1, t;

libavcodec/mpc7.c:153:23: Call
151.     case -1:
152.         for(i = 0; i < SAMPLES_PER_BAND; i++){
153.             *dst++ = (av_lfg_get(&c->rnd) & 0x3FC) - 510;
                           ^
154.         }
155.         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:153:13: Binary operation: ([0, 1020] - 510):unsigned32
151.     case -1:
152.         for(i = 0; i < SAMPLES_PER_BAND; i++){
153.             *dst++ = (av_lfg_get(&c->rnd) & 0x3FC) - 510;
                 ^
154.         }
155.         break;
