From b5ea0980c5c78df25277f9a1baf640b60184ab61 Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Tue, 20 Apr 2021 16:38:45 +1000 Subject: [PATCH] fix broken links to msdn documentation Signed-off-by: Peter Ross --- compat/msvcrt/snprintf.c | 2 +- libavformat/mmst.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compat/msvcrt/snprintf.c b/compat/msvcrt/snprintf.c index c64653fe82..43f5c3bb39 100644 --- a/compat/msvcrt/snprintf.c +++ b/compat/msvcrt/snprintf.c @@ -59,7 +59,7 @@ int avpriv_vsnprintf(char *s, size_t n, const char *fmt, * recommends to provide _snprintf/_vsnprintf() a buffer size that * is one less than the actual buffer, and zero it before calling * _snprintf/_vsnprintf() to workaround this problem. - * See http://msdn.microsoft.com/en-us/library/1kt27hek(v=vs.80).aspx */ + * See https://web.archive.org/web/20151214111935/http://msdn.microsoft.com/en-us/library/1kt27hek(v=vs.80).aspx */ memset(s, 0, n); va_copy(ap_copy, ap); ret = _vsnprintf(s, n - 1, fmt, ap_copy); diff --git a/libavformat/mmst.c b/libavformat/mmst.c index 377323fe27..fa6e86ac26 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -25,7 +25,7 @@ * MMS protocol specification: * [1]http://msdn.microsoft.com/en-us/library/cc234711(PROT.10).aspx * ASF specification. Revision 01.20.03. - * [2]http://msdn.microsoft.com/en-us/library/bb643323.aspx + * [2]http://web.archive.org/web/20131203084402/http://msdn.microsoft.com/en-us/library/bb643323.aspx */ #include "avformat.h"