avformat/udp: make recv addr of each packet available

This commit is contained in:
Timo Rothenpieler
2025-06-28 20:08:14 +02:00
parent 2c7e117fe0
commit af04a27893
2 changed files with 36 additions and 18 deletions

View File

@@ -338,4 +338,6 @@ int ff_connect_parallel(struct addrinfo *addrs, int timeout_ms_per_address,
int parallel, URLContext *h, int *fd,
int (*customize_fd)(void *, int, int), void *customize_ctx);
void ff_udp_get_last_recv_addr(URLContext *h, struct sockaddr_storage *addr, socklen_t *addr_len);
#endif /* AVFORMAT_NETWORK_H */