On Wed, 24 Aug 2016 01:03:00 +0000 liu jc <jc...@outlook.com> wrote: > > there is a bug when useing getaddrinfo in IOS when use
if this is an IOS hack, it should be ifdef'd? also i thought we had a policy against putting os bugfixes in our codebase? although i dislike this policy... > - snprintf(portstr, sizeof(portstr), "%d", port); > + > + switch (port) { > + case 80: > + snprintf(portstr, sizeof(portstr), "%s", "http"); > + break; > + case 1935: > + snprintf(portstr, sizeof(portstr), "%s", > "macromedia-fcs"); //know as rtmp > + break; > + default: > + snprintf(portstr, sizeof(portstr), "%d", port); > + break; so only 80, 1935 ? rtmp uses some other ports too. 443 etc. i am not against patch, i hope there is a way to fix this. do we have any apple contacts to report this bug? is it possible to use a different getaddrinfo on ios? thanks for patch. -compn _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel