Commit aa77af74 authored by Rafaël Carré's avatar Rafaël Carré

avio: EOVERFLOW is not defined on windows

Define it to EFBIG (file too big), it's close enough in this specific use
parent cca698a0
...@@ -316,6 +316,10 @@ static int Seek(access_t *access, uint64_t position) ...@@ -316,6 +316,10 @@ static int Seek(access_t *access, uint64_t position)
access_sys_t *sys = access->p_sys; access_sys_t *sys = access->p_sys;
int ret; int ret;
#ifndef EOVERFLOW
# define EOVERFLOW EFBIG
#endif
if (position > INT64_MAX) if (position > INT64_MAX)
ret = AVERROR(EOVERFLOW); ret = AVERROR(EOVERFLOW);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment