[vlc-commits] sout/rtsp: dead code

Rémi Denis-Courmont git at videolan.org
Tue Apr 22 23:25:45 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 23 00:25:38 2014 +0300| [ca376e8df1bb44ad6ad5bbb59f19269ac65f07a1] | committer: Rémi Denis-Courmont

sout/rtsp: dead code

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ca376e8df1bb44ad6ad5bbb59f19269ac65f07a1
---

 modules/stream_out/rtsp.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/stream_out/rtsp.c b/modules/stream_out/rtsp.c
index f9376cd..0939d5e 100644
--- a/modules/stream_out/rtsp.c
+++ b/modules/stream_out/rtsp.c
@@ -1077,8 +1077,7 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
             {
                 answer->i_status = 405;
                 httpd_MsgAdd( answer, "Allow",
-                              "%s, TEARDOWN, PLAY, GET_PARAMETER",
-                              ( id != NULL ) ? "SETUP" : "DESCRIBE" );
+                              "DESCRIBE, TEARDOWN, PLAY, GET_PARAMETER" );
                 break;
             }
 



More information about the vlc-commits mailing list