libavformat/mxfenc.c:793: error: Buffer Overrun L3
  Offset: [-1, 2] Size: 3.

libavformat/mxfenc.c:773:21: <Offset trace>
771.         sc->duration = -1;
772. 
773.         sc->index = mxf_get_essence_container_ul_index(st->codec->codec_id);
                         ^
774.         if (sc->index == -1) {
775.             av_log(s, AV_LOG_ERROR, "track %d: could not find essence container ul, "

libavformat/mxfenc.c:773:21: Call
771.         sc->duration = -1;
772. 
773.         sc->index = mxf_get_essence_container_ul_index(st->codec->codec_id);
                         ^
774.         if (sc->index == -1) {
775.             av_log(s, AV_LOG_ERROR, "track %d: could not find essence container ul, "

libavformat/mxfenc.c:214:5: Assignment
  212.         if (mxf_essence_container_uls[i].id == id)
  213.             return i;
  214.     return -1;
           ^
  215. }
  216. 

libavformat/mxfenc.c:773:9: Assignment
771.         sc->duration = -1;
772. 
773.         sc->index = mxf_get_essence_container_ul_index(st->codec->codec_id);
             ^
774.         if (sc->index == -1) {
775.             av_log(s, AV_LOG_ERROR, "track %d: could not find essence container ul, "

libavformat/mxfenc.c:59:1: <Length trace>
57. static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st);
58. 
59. static const MXFContainerEssenceEntry mxf_essence_container_uls[] = {
    ^
60.     { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x02,0x0D,0x01,0x03,0x01,0x02,0x04,0x60,0x01 },
61.       { 0x06,0x0E,0x2B,0x34,0x01,0x02,0x01,0x01,0x0D,0x01,0x03,0x01,0x15,0x01,0x05,0x00 },

libavformat/mxfenc.c:59:1: Array declaration
57. static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st);
58. 
59. static const MXFContainerEssenceEntry mxf_essence_container_uls[] = {
    ^
60.     { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x02,0x0D,0x01,0x03,0x01,0x02,0x04,0x60,0x01 },
61.       { 0x06,0x0E,0x2B,0x34,0x01,0x02,0x01,0x01,0x0D,0x01,0x03,0x01,0x15,0x01,0x05,0x00 },

libavformat/mxfenc.c:793:13: Array access: Offset: [-1, 2] Size: 3
791.             }
792.         } else
793.             sc->codec_ul = &mxf_essence_container_uls[sc->index].codec_ul;
                 ^
794. 
795.         if (!present[sc->index]) {
