diff --git a/libavformat/tcp.c b/libavformat/tcp.c index ce9f69a50b..09dc8a9679 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -167,7 +167,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags) } p = strchr(uri, '?'); if (p) { - int ret = ff_parse_opts_from_query_string(s, p, 1); + ret = ff_parse_opts_from_query_string(s, p, 1); if (ret < 0) return ret; }