Commit a628077e authored by Committed by Wim TaymansBrowse files
gst-libs/gst/netbuffer/gstnetbuffer.*: Make gst_netaddress_get_ip4_address fail for v6 addresses.
Original commit message from CVS: Patch by: Andrew Feren <acferen at yahoo dot com> * gst-libs/gst/netbuffer/gstnetbuffer.c: (gst_netaddress_get_ip4_address), (gst_netaddress_get_ip6_address), (gst_netaddress_get_address_bytes), (gst_netaddress_set_address_bytes): * gst-libs/gst/netbuffer/gstnetbuffer.h: Make gst_netaddress_get_ip4_address fail for v6 addresses. Make gst_netaddress_get_ip6_address either fail or return the v4 address as a transitional v6 address. Add two convenience functions: API: gst_netaddress_get_address_bytes() API: gst_netaddress_set_address_bytes() Fixes #564896.
Showing with 124 additions and 15 deletions