summaryrefslogtreecommitdiff
path: root/libavformat/network.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-01-10 17:34:04 +0100
committerAnton Khirnov <anton@khirnov.net>2022-01-21 09:25:05 +0100
commitd2519e8625f901856bfc915a1dc1f492bbd8b395 (patch)
tree8ee3b20da81ed695abbc7e601d952a17d9fdbe9e /libavformat/network.h
parent93b4cc38b086f27739a333866cc490ed1a15f499 (diff)
downloadffmpeg-d2519e8625f901856bfc915a1dc1f492bbd8b395.tar.gz
lavf/network: log ff_socket() errors to proper contexts rather than NULL
Diffstat (limited to 'libavformat/network.h')
-rw-r--r--libavformat/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/network.h b/libavformat/network.h
index 71347e815b..d76166faf6 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -305,7 +305,7 @@ int ff_listen_connect(int fd, const struct sockaddr *addr,
int ff_http_match_no_proxy(const char *no_proxy, const char *hostname);
-int ff_socket(int domain, int type, int protocol);
+int ff_socket(int domain, int type, int protocol, void *logctx);
void ff_log_net_error(void *ctx, int level, const char* prefix);