[FFmpeg-devel] [PATCH] Cleanup resolve_destination in sdp.c

Martin Storsjö martin
Wed Aug 25 14:44:20 CEST 2010


Hi,

Now that we don't need to get explicitly IPv4 addresses in the SDP 
generation code, the resolve_destination function can be simplified a bit, 
as in the attached patch.

Or perhaps the whole if (ai) branch could be skipped, assuming that 
getaddrinfo() returns a failure code if nothing was returned?

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Cleanup-sdp-code.patch
Type: text/x-diff
Size: 1439 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100825/ca9ad60c/attachment.patch>



More information about the ffmpeg-devel mailing list