vlc/vlc-2.0 | branch: master | Rafaël Carré <[email protected]> | Sun Jan 29 
22:06:54 2012 -0500| [09409bfda9ed8b187edfa92483998f7b9a39d8bc] | committer: 
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
(cherry picked from commit aa77af7405751bec3f8adfd1c671133261dc9c8d)

Signed-off-by: Rafaël Carré <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=09409bfda9ed8b187edfa92483998f7b9a39d8bc
---

 modules/access/avio.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/access/avio.c b/modules/access/avio.c
index 0850791..e85400d 100644
--- a/modules/access/avio.c
+++ b/modules/access/avio.c
@@ -316,6 +316,10 @@ static int Seek(access_t *access, uint64_t position)
     access_sys_t *sys = access->p_sys;
     int ret;
 
+#ifndef EOVERFLOW
+# define EOVERFLOW EFBIG
+#endif
+
     if (position > INT64_MAX)
         ret = AVERROR(EOVERFLOW);
     else

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to