[Libav-user] Building with MSVC toolchain resulting in seeking problem?
John Orr
john.orr at scala.com
Tue Mar 12 16:33:46 CET 2013
On 3/12/2013 11:14 AM, Hendrik Leppkes wrote:
> On Tue, Mar 12, 2013 at 4:10 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>> John Orr <john.orr at ...> 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
More information about the Libav-user
mailing list