summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-03 23:08:06 -0300
committerJames Almer <jamrial@gmail.com>2017-10-03 23:08:06 -0300
commit1e7b6e47d2752a91bcd6d0c91ed2aaf118eaeee9 (patch)
tree2845f742578a22e53698d4df677e097d124c88a3 /libavformat/rtsp.h
parent85fb45586804c2d69c845d145adfc22e35520257 (diff)
parent79331df362fb05a0d04ca9489c87e5b80077a3f4 (diff)
Merge commit '79331df362fb05a0d04ca9489c87e5b80077a3f4'
* commit '79331df362fb05a0d04ca9489c87e5b80077a3f4': rtsp: Lazily set up the pollfd array once Merged-by: James Almer <jamrial@gmail.com>
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 852fd6704e..36fdae492b 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.