Skip to content

ExistingFileValidator fail for file > 2GB on Windows #312

Closed
@zyzheng

Description

@zyzheng

When using with a video file that is larger than 2GB, ExistingFileValidator always fails even if the file actually exists.

From the code, it's using stat to check file stats. According to Microsoft document, it seems that function only support up to 32bit file length, which I assume is the cause for this problem.

I think using _stat64 on Windows should fix it, but not sure about other operating system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions