Hi, This is a patch for ff_getnameinfo. On systems lacking getservbyport, struct servent might not be defined, causing a compilation error when trying to access its member s_name (ent->s_name). There is no point in keeping the if(ent) branch when getservbyport is not available.
I am not really sure if the indentation should be kept this way or not, but it seemed the best considering the use of the ifdef.
0001-ff_getnameinfo-fix-struct-servent-dependancy.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel