Skip to content
Snippets Groups Projects
Commit cb8f70c9 authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Martin Storsjö
Browse files

vf_fps: use double constants for default/min/max for start_time


When using AV_NOPTS_VALUE (which expands to INT64_C(0x8000000000000000))
as union initializer for a double field, the c99 converter needs to
interpret this constant when filling the union initializer, and it is
interpreted as a positive value.

When converting AV_NOPTS_VALUE to a double, MSVC 2010 ends up with
the same positive value as the c99 converter, while MSVC 2012 gets
a negative value.

This results in an infite loop in various FATE tests on MSVC 2012.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 48f2e53a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment