> ... > > - defining NO_DSHOW_STRSAFE in libavcodec/mf_utils.h > ... > Or if we'd add the define projectwide in e.g. configure it probably > wouldn't be that bad? Kinda like how we already add > "-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS" in MSVC builds. > Then we wouldn't need to worry about missing it somewhere accidentally.
Ended up defining NO_DSHOW_STRSAFE in mf_utils.h, just like dshow_capture.h does (these are the only two uses). -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS are defined only for MVSC: elif test_${pfx}cpp_condition crtversion.h "defined _VC_CRT_MAJOR_VERSION"; then NO_DSHOW_STRSAFE should cover MinGW as well, and probably others. If you still want global NO_DSHOW_STRSAFE, please point where to add it exactly. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".