summaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-08-25 12:29:32 +0000
committerMartin Storsjö <martin@martin.st>2010-08-25 12:29:32 +0000
commit7ad1dc54479117163b3dbe0fb7edd854288a9eb1 (patch)
tree9adac68c7f5b1df967794fe523a9c8b414122bf1 /libavformat/movenc.c
parentd09c0a1666fa3509dc39b027df8497c8518e5338 (diff)
downloadffmpeg-streaming-7ad1dc54479117163b3dbe0fb7edd854288a9eb1.zip
ffmpeg-streaming-7ad1dc54479117163b3dbe0fb7edd854288a9eb1.tar.gz
Properly handle IPv6 addresses in the SDP generation
Originally committed as revision 24915 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index aed748b..5b3e4f5 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1263,7 +1263,7 @@ static int mov_write_udta_sdp(ByteIOContext *pb, AVCodecContext *ctx, int index)
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);
OpenPOWER on IntegriCloud