The branch, master has been updated
via 222127418bbdee3247eb9c02bb8cf31991e32241 (commit)
from 79080a547a39b0257bec081f72963b8f51e94416 (commit)
- Log -----------------------------------------------------------------
commit 222127418bbdee3247eb9c02bb8cf31991e32241
Author: Zhao Zhili <[email protected]>
AuthorDate: Wed Sep 3 17:33:13 2025 +0800
Commit: Zhao Zhili <[email protected]>
CommitDate: Thu Nov 6 02:16:27 2025 +0000
avutil/internal: remove some compats for msvc
They are supported by MSVC with C11.
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 06df322e21..10ec26e9a0 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -115,19 +115,8 @@ void avpriv_report_missing_feature(void *avc,
void avpriv_request_sample(void *avc,
const char *msg, ...) av_printf_format(2, 3);
-#if HAVE_LIBC_MSVCRT
-#include <crtversion.h>
-#if defined(_VC_CRT_MAJOR_VERSION) && _VC_CRT_MAJOR_VERSION < 14
-#pragma comment(linker, "/include:" EXTERN_PREFIX "avpriv_strtod")
-#pragma comment(linker, "/include:" EXTERN_PREFIX "avpriv_snprintf")
-#endif
-
-#define PTRDIFF_SPECIFIER "Id"
-#define SIZE_SPECIFIER "Iu"
-#else
#define PTRDIFF_SPECIFIER "td"
#define SIZE_SPECIFIER "zu"
-#endif
#ifdef DEBUG
# define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
-----------------------------------------------------------------------
Summary of changes:
libavutil/internal.h | 11 -----------
1 file changed, 11 deletions(-)
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]