[vlc-commits] rtsp: missing brackets, fix shadowing

Rémi Denis-Courmont git at videolan.org
Sun Jun 17 10:30:42 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 17 11:30:23 2018 +0300| [feeac212367e45d84abf4832bb0a387edec26eec] | committer: Rémi Denis-Courmont

rtsp: missing brackets, fix shadowing

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

 modules/stream_out/rtsp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/stream_out/rtsp.c b/modules/stream_out/rtsp.c
index 46ef598774..380da23699 100644
--- a/modules/stream_out/rtsp.c
+++ b/modules/stream_out/rtsp.c
@@ -1132,6 +1132,7 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
         }
 
         case HTTPD_MSG_GETPARAMETER:
+        {
             if( query->i_body > 0 )
             {
                 answer->i_status = 451;
@@ -1146,6 +1147,7 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
                 RtspClientAlive(ses);
             vlc_mutex_unlock( &rtsp->lock );
             break;
+        }
 
         case HTTPD_MSG_TEARDOWN:
         {



More information about the vlc-commits mailing list