On Tue, Mar 12, 2013 at 4:33 PM, John Orr <[email protected]> wrote: > On 3/12/2013 11:14 AM, Hendrik Leppkes wrote: >> >> On Tue, Mar 12, 2013 at 4:10 PM, Carl Eugen Hoyos <[email protected]> >> wrote: >>> >>> John Orr <john.orr@...> writes: >>> >>>> if (whence == AVSEEK_SIZE) { >>>> #ifndef _MSC_VER >>>> struct stat st; >>>> >>>> ret = fstat(c->fd, &st); >>>> #else > > > ... > > >>>> Perhaps you could (fix the whitespace and) send a patch >>>> to ffmpeg-devel or set up a git clone to allow merging? >>>> >> If you send a patch, then first look at libavformat/os_support.h, it >> already has defines for mingw to map these functions, and should >> probably be enhanced there, instead of cluttering file.c with #ifdefs. > > > I'll be glad to try to fix it properly. Bear in mind that I'm not so well > versed in making patches. > > --Johno >
No worries, the fix (in theory) is so trivial that I'll simply send a patch to ffmpeg-devel in a few minutes, if you could test it out to confirm, that would be great. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
