OSDN Git Service

rtspdec: Consistently use rtsp_hd_out for writing
authorMartin Storsjö <martin@martin.st>
Wed, 21 Jan 2015 13:23:50 +0000 (14:23 +0100)
committerMartin Storsjö <martin@martin.st>
Fri, 23 Jan 2015 08:33:00 +0000 (10:33 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtspdec.c

index 1f90590..418f383 100644 (file)
@@ -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;
 }