[vlc-commits] sdp: do not send dummy description

Rémi Denis-Courmont git at videolan.org
Fri Apr 3 17:32:41 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr  1 22:03:42 2020 +0300| [fc7081ad0faca3b3483920745df0706a28cbd668] | committer: Rémi Denis-Courmont

sdp: do not send dummy description

If we do not have a description, don't send one. The field is
syntactically optional.

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

 src/stream_output/sdp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/stream_output/sdp.c b/src/stream_output/sdp.c
index 304433beaf..f3fea58409 100644
--- a/src/stream_output/sdp.c
+++ b/src/stream_output/sdp.c
@@ -145,8 +145,6 @@ int vlc_sdp_Start(struct vlc_memstream *restrict stream,
         vlc_memstream_printf(stream, "i=%s\r\n", str);
         free(str);
     }
-    else
-        vlc_memstream_printf(stream, "i=%s\r\n", "N/A");
 
     // no URL, email, no phone (useless)
 



More information about the vlc-commits mailing list