[vlc-devel] [PATCH 2/2] sdp: do not send dummy description
RĂ©mi Denis-Courmont
remi at remlab.net
Wed Apr 1 21:34:52 CEST 2020
If we do not have a description, don't send one. The field is
syntactically optional.
---
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)
--
2.26.0
More information about the vlc-devel
mailing list