You might want to use this macro:
#ifdef UTIL_EXPORTS
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT __declspec(dllimport)
#endif
and declare your maps like this:
extern DLLEXPORT std::map<AVPixelFormat, std::string> AVPixelFormatMap;