vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Jun  7 
10:35:02 2020 +0300| [b3fe59fad88112045e8c5ddda325fb3a06a2843e] | committer: 
Rémi Denis-Courmont

rtp: ignore MSG_TRUNC if missing

(same as VLC 3.0 does)

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

 modules/access/rtp/datagram.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/access/rtp/datagram.c b/modules/access/rtp/datagram.c
index 55323a3a8a..bda8942fcb 100644
--- a/modules/access/rtp/datagram.c
+++ b/modules/access/rtp/datagram.c
@@ -32,6 +32,10 @@
 #include <vlc_network.h>
 #include "vlc_dtls.h"
 
+#ifndef MSG_TRUNC
+#define MSG_TRUNC 0
+#endif
+
 struct vlc_dgram_sock
 {
     int fd;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to