libavformat/isom.c:314: error: Buffer Overrun L1
  Offset added: 4 Size: 1.

libavformat/isom.c:247:1: <Length trace>
245. /* http://developer.apple.com/documentation/mac/Text/Text-368.html */
246. /* deprecated by putting the code as 3*5bit ascii */
247. static const char mov_mdhd_language_map[][4] = {
     ^
248.     /* 0-9 */
249.     "eng", "fra", "ger", "ita", "dut", "sve", "spa", "dan", "por", "nor",

libavformat/isom.c:247:1: Array declaration
245. /* http://developer.apple.com/documentation/mac/Text/Text-368.html */
246. /* deprecated by putting the code as 3*5bit ascii */
247. static const char mov_mdhd_language_map[][4] = {
     ^
248.     /* 0-9 */
249.     "eng", "fra", "ger", "ita", "dut", "sve", "spa", "dan", "por", "nor",

libavformat/isom.c:314:5: Array access: Offset added: 4 Size: 1
312.     if (!mov_mdhd_language_map[code][0])
313.         return 0;
314.     memcpy(to, mov_mdhd_language_map[code], 4);
         ^
315.     return 1;
316. }

int ff_mov_lang_to_iso639(unsigned code, char to[4])
{
    int i;
    memset(to, 0, 4);
    if (code > 138) {
        for (i = 2; i >= 0; i--) {
            to[i] = 0x60 + (code & 0x1f);
            code >>= 5;
        }
        return 1;
    }
    if (code >= FF_ARRAY_ELEMS(mov_mdhd_language_map))
        return 0;
    if (!mov_mdhd_language_map[code][0])
        return 0;
    memcpy(to, mov_mdhd_language_map[code], 4);
    return 1;
}
['int ff_mov_lang_to_iso639(unsigned code, char to[4])\n{\n    int i;\n    memset(to, 0, 4);\n    if (code > 138) {\n        for (i = 2; i >= 0; i--) {\n            to[i] = 0x60 + (code & 0x1f);\n            code >>= 5;\n        }\n        return 1;\n    }\n    if (code >= FF_ARRAY_ELEMS(mov_mdhd_language_map))\n        return 0;\n    if (!mov_mdhd_language_map[code][0])\n        return 0;\n    memcpy(to, mov_mdhd_language_map[code], 4);\n    return 1;\n}']