From 9108967513fcaff3d55514a7bca4c9fbba128c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 21 Jan 2015 14:23:50 +0100 Subject: [PATCH] rtspdec: Consistently use rtsp_hd_out for writing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavformat/rtspdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index 1f90590c89..418f3837b8 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -114,7 +114,7 @@ static int rtsp_send_reply(AVFormatContext *s, enum RTSPStatusCode code, av_strlcat(message, extracontent, sizeof(message)); av_strlcat(message, "\r\n", sizeof(message)); av_dlog(s, "Sending response:\n%s", message); - ffurl_write(rt->rtsp_hd, message, strlen(message)); + ffurl_write(rt->rtsp_hd_out, message, strlen(message)); return 0; }