[FFmpeg-cvslog] r20262 - trunk/libavformat/sdp.c
lucabe
subversion
Sat Oct 17 13:15:45 CEST 2009
Author: lucabe
Date: Sat Oct 17 13:15:45 2009
New Revision: 20262
Log:
Emit the SDP lines in the correct order
Modified:
trunk/libavformat/sdp.c
Modified: trunk/libavformat/sdp.c
==============================================================================
--- trunk/libavformat/sdp.c Sat Oct 17 10:04:33 2009 (r20261)
+++ trunk/libavformat/sdp.c Sat Oct 17 13:15:45 2009 (r20262)
@@ -58,14 +58,14 @@ static void sdp_write_header(char *buff,
{
av_strlcatf(buff, size, "v=%d\r\n"
"o=- %d %d IN IP4 %s\r\n"
- "t=%d %d\r\n"
- "s=%s\r\n"
- "a=tool:libavformat " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\r\n",
+ "s=%s\r\n",
s->sdp_version,
s->id, s->version, s->src_addr,
- s->start_time, s->end_time,
s->name);
sdp_write_address(buff, size, s->dst_addr, s->ttl);
+ av_strlcatf(buff, size, "t=%d %d\r\n"
+ "a=tool:libavformat " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\r\n",
+ s->start_time, s->end_time);
}
static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url)
More information about the ffmpeg-cvslog
mailing list