[FFmpeg-devel] [PATCH] fix broken links to msdn documentation
Peter Ross
pross at xvid.org
Mon May 10 04:58:23 EEST 2021
---
compat/msvcrt/snprintf.c | 2 +-
libavformat/mmst.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
will apply in a few days if there are no objections here
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"
--
2.30.2
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210510/2cf29e06/attachment.sig>
More information about the ffmpeg-devel
mailing list