Browse Source

fix broken links to msdn documentation

Signed-off-by: Peter Ross <pross@xvid.org>
Peter Ross 3 years ago
parent
commit
b5ea0980c5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compat/msvcrt/snprintf.c
  2. 1 1
      libavformat/mmst.c

+ 1 - 1
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);

+ 1 - 1
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"