Skip to content
Snippets Groups Projects
Commit 24cb5eae authored by Timothy B. Terriberry's avatar Timothy B. Terriberry
Browse files

Fix seekability detection on win32.

The seeking functions on Windows internally dispatch to
 SetFilePointer(), whose behavior is undefined if you do not call
 it on "a file stored on a seeking device".
Check the type of file when it is opened and manually force seeks
 to fail if we do not have such a file.

Thanks to L W Anhonen for the report and Mark Harris for pointing
 out the solution used by opus-tools to avoid this problem.
parent 34f945bb
No related branches found
No related tags found
2 merge requests!7Miscellaneous fixes,!6Miscellaneous fixes
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment