-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSVC compatibility #39
Conversation
Which is version of MSVC used by you? Seems that some guys already use AvCpp with MSVC without problems... So, I am confused a little bit. |
I use VS2017 latest, which would be the toolset v141. I think most of these problems could be fixed by disabling some warnings or such, but I don't see how ssize_t would work unless it was manually typedef'd. The other stuff too won't work in msvc by default. |
Ok. Could you please split merge request to the set of separate ones? I am ready to apply some changes now, but some changes need more deep review. |
Only first. I want look deeply to the |
Could you please prepare PR for 42c74d4 too? |
The changes in this PR change some parts of the code to be compatible with MSVC. I haven't tested it on gcc for cross compatibility, but it should be fine.
I'm not happy about the AV_TIMEBASE_Q_CPP macro, but I couldn't think of a properly elegant solution.