From 79331df362fb05a0d04ca9489c87e5b80077a3f4 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Mon, 20 Feb 2017 02:16:28 +0100 Subject: rtsp: Lazily set up the pollfd array once --- libavformat/rtsp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/rtsp.h') diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index ff5b53207e..9dfbc5367f 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -352,6 +352,7 @@ typedef struct RTSPState { * Polling array for udp */ struct pollfd *p; + int max_p; /** * Whether the server supports the GET_PARAMETER method. -- cgit v1.2.3