libavcodec/mlpdec.c:1030: error: Integer Overflow L2
  ([4, min(8190, `avpkt->size`)] - [4, 32]):unsigned32.

libavcodec/mlpdec.c:957:1: <LHS trace>
955.  *  otherwise the number of bytes consumed. */
956. 
957. static int read_access_unit(AVCodecContext *avctx, void* data,
     ^
958.                             int *got_frame_ptr, AVPacket *avpkt)
959. {

libavcodec/mlpdec.c:957:1: Parameter `avpkt->size`
955.  *  otherwise the number of bytes consumed. */
956. 
957. static int read_access_unit(AVCodecContext *avctx, void* data,
     ^
958.                             int *got_frame_ptr, AVPacket *avpkt)
959. {

libavcodec/mlpdec.c:961:5: Assignment
959. {
960.     const uint8_t *buf = avpkt->data;
961.     int buf_size = avpkt->size;
         ^
962.     MLPDecodeContext *m = avctx->priv_data;
963.     GetBitContext gb;

libavcodec/mlpdec.c:966:5: <RHS trace>
964.     unsigned int length, substr;
965.     unsigned int substream_start;
966.     unsigned int header_size = 4;
         ^
967.     unsigned int substr_header_size = 0;
968.     uint8_t substream_parity_present[MAX_SUBSTREAMS];

libavcodec/mlpdec.c:966:5: Assignment
964.     unsigned int length, substr;
965.     unsigned int substream_start;
966.     unsigned int header_size = 4;
         ^
967.     unsigned int substr_header_size = 0;
968.     uint8_t substream_parity_present[MAX_SUBSTREAMS];

libavcodec/mlpdec.c:1030:13: Binary operation: ([4, min(8190, avpkt->size)] - [4, 32]):unsigned32
1028.                    "Indicated length of substream %d data goes off end of "
1029.                    "packet.\n", substr);
1030.             end = length - header_size - substr_header_size;
                  ^
1031.         }
1032. 
