diff movenc.c @ 6405:1f6088eaa469 libavformat

Properly handle IPv6 addresses in the SDP generation
author mstorsjo
date Wed, 25 Aug 2010 12:29:32 +0000
parents f2ad554b2464
children 317dedc6b9a2
line wrap: on
line diff
--- a/movenc.c	Wed Aug 25 09:15:31 2010 +0000
+++ b/movenc.c	Wed Aug 25 12:29:32 2010 +0000
@@ -1263,7 +1263,7 @@
     char buf[1000] = "";
     int len;
 
-    ff_sdp_write_media(buf, sizeof(buf), ctx, NULL, 0, 0);
+    ff_sdp_write_media(buf, sizeof(buf), ctx, NULL, NULL, 0, 0);
     av_strlcatf(buf, sizeof(buf), "a=control:streamid=%d\r\n", index);
     len = strlen(buf);