You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avutil/internal: remove some compats for msvc
They are supported by MSVC with C11.
This commit is contained in:
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user