diff options
author | Martin Storsjö <martin@martin.st> | 2010-03-09 16:04:41 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-03-09 16:04:41 +0000 |
commit | db76ca7f3543ab9caadce1bda6d70d5c1d9be011 (patch) | |
tree | 556cf84ef96c06a7094a946394d78ad1117bd5b0 /libavformat/rtspenc.c | |
parent | 28e5130b5fac6991a21844639c83848675085356 (diff) | |
download | ffmpeg-db76ca7f3543ab9caadce1bda6d70d5c1d9be011.tar.gz |
Use rt->control_uri consequently instead of s->filename in all RTSP commands
Originally committed as revision 22403 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtspenc.c')
-rw-r--r-- | libavformat/rtspenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c index 5f893916f1..22db85809f 100644 --- a/libavformat/rtspenc.c +++ b/libavformat/rtspenc.c @@ -37,7 +37,7 @@ static int rtsp_write_record(AVFormatContext *s) snprintf(cmd, sizeof(cmd), "RECORD %s RTSP/1.0\r\n" "Range: npt=%0.3f-\r\n", - s->filename, + rt->control_uri, (double) 0); ff_rtsp_send_cmd(s, cmd, reply, NULL); if (reply->status_code != RTSP_STATUS_OK) @@ -111,7 +111,7 @@ static int rtsp_write_close(AVFormatContext *s) snprintf(cmd, sizeof(cmd), "TEARDOWN %s RTSP/1.0\r\n", - s->filename); + rt->control_uri); ff_rtsp_send_cmd_async(s, cmd); ff_rtsp_close_streams(s); |