[FFmpeg-devel] [PATCH] fftools/ffmpeg: fix mixed code and declarations

Hendrik Leppkes h.leppkes at gmail.com
Sun Apr 29 17:25:23 EEST 2018


On Sun, Apr 29, 2018 at 4:00 PM, James Almer <jamrial at gmail.com> wrote:
> On 4/29/2018 8:08 AM, Derek Buitenhuis wrote:
>> On 4/29/2018 3:21 AM, James Almer wrote:
>>> +    BenchmarkTimeStamps time_stamps = { .real_usec = av_gettime_relative() };
>>
>> Does this build on supported versions of MSVC?
>
> I don't know, i don't have MSVC to test. And afaik we support only 2013
> or newer (or at least stopped caring about the older, non c99 compliant
> ones).

real_usec is the first field in the struct, just skip the designated
initializer entirely.

- Hendrik


More information about the ffmpeg-devel mailing list