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

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

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

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