When including libavformat/avformat.h in VS2008, I got following error:
UINT64_C was not defined in this scope.
Add following code before including avformat.h will solve this problem:
1 2 3 4 |
#ifndef INT64_C #define INT64_C(c) (c ## LL) #define UINT64_C(c) (c ## ULL) #endif |