summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-18 15:41:06 +0300
committerMartin Storsjö <martin@martin.st>2011-06-10 10:45:22 +0300
commit0558e266a267b5d90d3be1d8d86e60db2c303773 (patch)
treeff68db9dcaed4e5cf97c942fe408cf8b42c48c18 /libavformat/movenc.c
parentf33a6a22b4f2382a5113194335ae2a22ae957fed (diff)
sdp: Allow passing an AVFormatContext to the SDP generation
Options from the AVFormatContext can be read for modifying the generated SDP. Signed-off-by: Martin Storsjö <martin@martin.st>
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 5f4eea49fc..b313510b25 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1359,7 +1359,7 @@ static int mov_write_udta_sdp(AVIOContext *pb, AVCodecContext *ctx, int index)
char buf[1000] = "";
int len;
- ff_sdp_write_media(buf, sizeof(buf), ctx, NULL, NULL, 0, 0);
+ ff_sdp_write_media(buf, sizeof(buf), ctx, NULL, NULL, 0, 0, NULL);
av_strlcatf(buf, sizeof(buf), "a=control:streamid=%d\r\n", index);
len = strlen(buf);