[Libav-user] Building with MSVC toolchain resulting in seeking problem?

John Orr john.orr at scala.com
Fri Mar 22 21:48:40 CET 2013


On 3/12/2013 7:18 PM, John Orr wrote:
> On 3/12/2013 6:18 PM, Carl Eugen Hoyos wrote:
>> John Orr <john.orr at ...> writes:
>>
>>> Parts of ffmpeg source code assume the compiler will remove
>>> the body of a conditional if the condition is always false
>> Could you test if the following fixes compilation with
>> --disable-optimizations with msvc?
>> Insert a line >> _cflags_noopt="-O1" << after
>> the line >> _cflags_size="-O1" << which should be line 2746.
>
> I tried this in the 1.1.3 branch version of configure just above the 
> line:
>
>         # Nonstandard output options, to avoid msys path conversion 
> issues, relies on wrapper to remap it
>
> It eventually fails to link:
>

I'm pretty sure I goofed when I did this test a few weeks ago.  I think 
I left the --optflags='-arch:SSE2' in place, which basically ignores 
_cflags_noopts and _cflags_size.

--Johno




More information about the Libav-user mailing list