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

libavformat/mxfenc.c:1364:1: start of procedure mxf_parse_timestamp()
1362. }
1363. 
1364. static uint64_t mxf_parse_timestamp(time_t timestamp)
      ^
1365. {
1366.     struct tm *time = gmtime(&timestamp);

libavformat/mxfenc.c:1366:5: 
1364. static uint64_t mxf_parse_timestamp(time_t timestamp)
1365. {
1366.     struct tm *time = gmtime(&timestamp);
          ^
1367.     return (uint64_t)(time->tm_year+1900) << 48 |
1368.            (uint64_t)(time->tm_mon+1)     << 40 |

libavformat/mxfenc.c:1367:5: 
1365. {
1366.     struct tm *time = gmtime(&timestamp);
1367.     return (uint64_t)(time->tm_year+1900) << 48 |
          ^
1368.            (uint64_t)(time->tm_mon+1)     << 40 |
1369.            (uint64_t) time->tm_mday       << 32 |
