summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2011-01-28 03:12:21 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-01-30 03:40:59 +0100
commitd0eb91ad0451cdb6c062b2d4760bfa7f8bb4db6b (patch)
treeaad8df0b1a480fbcdcae278fe393f287106d76d3 /libavformat/rtsp.h
parentb5f83debf5384195c8700d024fb760ab8d7250aa (diff)
os: replace select with poll
Select has limitations on the fd values it could accept and silently breaks when it is reached. (cherry picked from commit a8475bbdb64e638bd8161df9647876fd23f8a29a)
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index f0ead10da5..14d3f41eb5 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -326,6 +326,11 @@ typedef struct RTSPState {
* The number of returned packets
*/
uint64_t packets;
+
+ /**
+ * Polling array for udp
+ */
+ struct pollfd *p;
} RTSPState;
/**