libavformat/electronicarts.c:479: error: Integer Overflow L1
  (-12 - 12):unsigned32.

libavformat/electronicarts.c:466:19: <LHS trace>
464.                 chunk_size -= 12;
465.             }
466.             ret = av_get_packet(pb, pkt, chunk_size);
                       ^
467.             if (ret != chunk_size)
468.                 ret = AVERROR(EIO);

libavformat/electronicarts.c:466:19: Call
464.                 chunk_size -= 12;
465.             }
466.             ret = av_get_packet(pb, pkt, chunk_size);
                       ^
467.             if (ret != chunk_size)
468.                 ret = AVERROR(EIO);

libavformat/utils.c:280:14: Call
  278. int av_get_packet(ByteIOContext *s, AVPacket *pkt, int size)
  279. {
  280.     int ret= av_new_packet(pkt, size);
                    ^
  281. 
  282.     if(ret<0)

libavformat/utils.c:268:9: Assignment
    266.     data = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);
    267.     if (!data)
    268.         return AVERROR(ENOMEM);
                 ^
    269.     memset(data + size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
    270. 

libavformat/utils.c:280:5: Assignment
  278. int av_get_packet(ByteIOContext *s, AVPacket *pkt, int size)
  279. {
  280.     int ret= av_new_packet(pkt, size);
           ^
  281. 
  282.     if(ret<0)

libavformat/utils.c:283:9: Assignment
  281. 
  282.     if(ret<0)
  283.         return ret;
               ^
  284. 
  285.     pkt->pos= url_ftell(s);

libavformat/electronicarts.c:466:13: Assignment
464.                 chunk_size -= 12;
465.             }
466.             ret = av_get_packet(pb, pkt, chunk_size);
                 ^
467.             if (ret != chunk_size)
468.                 ret = AVERROR(EIO);

libavformat/electronicarts.c:479:21: Binary operation: (-12 - 12):unsigned32
477.                     /* 2 samples/byte, 1 or 2 samples per frame depending
478.                      * on stereo; chunk also has 12-byte header */
479.                     ea->audio_frame_counter += ((chunk_size - 12) * 2) /
                         ^
480.                         ea->num_channels;
481.                         break;
