The fdset is a pollfd array nowadays, and it is already populated
at this point.
---
 libavformat/rtpproto.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 8fc6ce7..f69923d 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -340,7 +340,6 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
     for(;;) {
         if (ff_check_interrupt(&h->interrupt_callback))
             return AVERROR_EXIT;
-        /* build fdset to listen to RTP and RTCP packets */
         n = poll(p, 2, poll_delay);
         if (n > 0) {
             /* first try RTCP */
-- 
1.7.9.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to