John Orr <john.orr@...> writes:

>      if (whence == AVSEEK_SIZE) {
> #ifndef _MSC_VER
>          struct stat st;
> 
>          ret = fstat(c->fd, &st);
> #else
>          struct _stat64 st;
>          ret = _fstati64( c->fd, &st );
> #endif
>          return ret < 0 ? AVERROR(errno) : (S_ISFIFO(st.st_mode) ? 0 : 
> st.st_size);
>      }
> #ifndef _MSC_VER
>      ret = lseek(c->fd, pos, whence);
> #else
>      ret = _lseeki64(c->fd, pos, whence);
> #endif

Perhaps you could (fix the whitespace and) send a patch 
to ffmpeg-devel or set up a git clone to allow merging?

Thank you for the solution!

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to