libavformat/mxfenc.c:1382: error: Null Dereference
  pointer `time_is_forbidden_due_to_security_issues` last assigned on line 1381 could be null and is dereferenced at line 1382, column 23.

libavformat/mxfenc.c:1379:1: start of procedure mxf_parse_timestamp()
1377. }
1378. 
1379. static uint64_t mxf_parse_timestamp(time_t timestamp)
      ^
1380. {
1381.     struct tm *time = gmtime(&timestamp);

libavformat/mxfenc.c:1381:5: 
1379. static uint64_t mxf_parse_timestamp(time_t timestamp)
1380. {
1381.     struct tm *time = gmtime(&timestamp);
          ^
1382.     return (uint64_t)(time->tm_year+1900) << 48 |
1383.            (uint64_t)(time->tm_mon+1)     << 40 |

libavformat/mxfenc.c:1382:5: 
1380. {
1381.     struct tm *time = gmtime(&timestamp);
1382.     return (uint64_t)(time->tm_year+1900) << 48 |
          ^
1383.            (uint64_t)(time->tm_mon+1)     << 40 |
1384.            (uint64_t) time->tm_mday       << 32 |

static uint64_t mxf_parse_timestamp(time_t timestamp)
{
    struct tm *time = gmtime(&timestamp);
    return (uint64_t)(time->tm_year+1900) << 48 |
           (uint64_t)(time->tm_mon+1)     << 40 |
           (uint64_t) time->tm_mday       << 32 |
                      time->tm_hour       << 24 |
                      time->tm_min        << 16 |
                      time->tm_sec        << 8;
}
['static uint64_t mxf_parse_timestamp(time_t timestamp)\n{\n    struct tm *time = gmtime(&timestamp);\n    return (uint64_t)(time->tm_year+1900) << 48 |\n           (uint64_t)(time->tm_mon+1)     << 40 |\n           (uint64_t) time->tm_mday       << 32 |\n                      time->tm_hour       << 24 |\n                      time->tm_min        << 16 |\n                      time->tm_sec        << 8;\n}']