summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2017-02-20 02:16:28 +0100
committerLuca Barbato <lu_zero@gentoo.org>2017-02-28 12:54:04 +0100
commit79331df362fb05a0d04ca9489c87e5b80077a3f4 (patch)
tree08502c985e111107d0ed7a5f2d2ae0c97cadf85c /libavformat/rtsp.h
parentd8f36a6aa33e9f904fa47caa0329ddaac391cd7d (diff)
rtsp: Lazily set up the pollfd array once
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h1
1 files changed, 1 insertions, 0 deletions
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.