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

libavformat/mxfenc.c:1371:1: start of procedure mxf_parse_timestamp()
1369. }
1370. 
1371. static uint64_t mxf_parse_timestamp(time_t timestamp)
      ^
1372. {
1373.     struct tm *time = localtime(&timestamp);

libavformat/mxfenc.c:1373:5: 
1371. static uint64_t mxf_parse_timestamp(time_t timestamp)
1372. {
1373.     struct tm *time = localtime(&timestamp);
          ^
1374.     return (uint64_t)(time->tm_year+1900) << 48 |
1375.            (uint64_t)(time->tm_mon+1)     << 40 |

libavformat/mxfenc.c:1374:5: 
1372. {
1373.     struct tm *time = localtime(&timestamp);
1374.     return (uint64_t)(time->tm_year+1900) << 48 |
          ^
1375.            (uint64_t)(time->tm_mon+1)     << 40 |
1376.            (uint64_t) time->tm_mday       << 32 |
