pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51520: multimedia/ffmpeg3 - getnameinfo: Non-recoverable failure in name resolution on RTP incoming streams
>Number: 51520
>Category: pkg
>Synopsis: multimedia/ffmpeg3 - getnameinfo: Non-recoverable failure in name resolution on RTP incoming streams
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 01 00:15:00 +0000 2016
>Originator: Adrien Fernandes
>Release: pkgsrc current 22nd July 2016
>Organization:
>Environment:
NetBSD 7.99.34 (GENERIC.201607240240Z) amd64
>Description:
It is actually impossible to read a RTP protocole stream with multimedia/ffplay3.
$ /home/Adrien2002/Programmes/NetBSD/bin/ffplay3 rtp://127.0.0.1:1234
[rtp @ 0x7ae5c5903800] getnameinfo: Non-recoverable failure in name resolution
rtp://127.0.0.1:1234: Input/output error
After patched multimedia/ffmpeg3, it worked, I can watch my stream.
>How-To-Repeat:
Try to read an incoming RTP stream.
>Fix:
--- libavformat/rtsp.c.orig 2016-10-01 02:05:05.262490405 +0200
+++ libavformat/rtsp.c 2016-10-01 02:06:28.990605339 +0200
@@ -2301,7 +2301,7 @@
AVDictionary *opts = map_to_opts(rt);
err = getnameinfo((struct sockaddr*) &rtsp_st->sdp_ip,
- sizeof(rtsp_st->sdp_ip),
+ rtsp_st->sdp_ip.ss_len,
namebuf, sizeof(namebuf), NULL, 0, NI_NUMERICHOST);
if (err) {
av_log(s, AV_LOG_ERROR, "getnameinfo: %s\n", gai_strerror(err));
Home |
Main Index |
Thread Index |
Old Index