libavcodec/mpc8.c:353: error: Integer Overflow L1
  (0 - 510):unsigned32.

libavcodec/mpc8.c:252:16: <LHS trace>
250.     /* get output buffer */
251.     frame->nb_samples = MPC_FRAME_SIZE;
252.     if ((res = ff_get_buffer(avctx, frame, 0)) < 0) {
                    ^
253.         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
254.         return res;

libavcodec/mpc8.c:252:16: Call
250.     /* get output buffer */
251.     frame->nb_samples = MPC_FRAME_SIZE;
252.     if ((res = ff_get_buffer(avctx, frame, 0)) < 0) {
                    ^
253.         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
254.         return res;

libavcodec/decode.c:1144:9: Call
  1142. 
  1143.     if (ret < 0)
  1144.         av_frame_unref(frame);
                ^
  1145. 
  1146.     return ret;

libavutil/frame.c:310:5: Call
    308.     int i;
    309. 
    310.     wipe_side_data(frame);
             ^
    311. 
    312.     for (i = 0; i < FF_ARRAY_ELEMS(frame->buf); i++)

libavutil/frame.c:62:9: Call
      60. 
      61.     for (i = 0; i < frame->nb_side_data; i++) {
      62.         free_side_data(&frame->side_data[i]);
                  ^
      63.     }
      64.     frame->nb_side_data = 0;

libavutil/frame.c:53:5: Call
        51. 
        52.     av_freep(&sd->data);
        53.     av_dict_free(&sd->metadata);
                ^
        54.     av_freep(ptr_sd);
        55. }

libavutil/dict.c:186:5: Call
          184.         av_free(m->elems);
          185.     }
          186.     av_freep(pm);
                   ^
          187. }
          188. 

libavutil/mem.c:198:26: Assignment
            196. 
            197.     memcpy(&val, arg, sizeof(val));
            198.     memcpy(arg, &(void *){ NULL }, sizeof(val));
                                          ^
            199.     av_free(val);
            200. }

libavcodec/mpc8.c:353:42: Call
351.             case -1:
352.                 for(j = 0; j < SAMPLES_PER_BAND; j++)
353.                     c->Q[ch][off + j] = (av_lfg_get(&c->rnd) & 0x3FC) - 510;
                                              ^
354.                 break;
355.             case 0:

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/mpc8.c:353:21: Binary operation: (0 - 510):unsigned32
351.             case -1:
352.                 for(j = 0; j < SAMPLES_PER_BAND; j++)
353.                     c->Q[ch][off + j] = (av_lfg_get(&c->rnd) & 0x3FC) - 510;
                         ^
354.                 break;
355.             case 0:
