Commit 7531588f authored by Martin Storsjö's avatar Martin Storsjö

rtpproto: Remove a misplaced comment

The fdset is a pollfd array nowadays, and it is already populated
at this point.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 54e03ff6
...@@ -331,7 +331,6 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size) ...@@ -331,7 +331,6 @@ static int rtp_read(URLContext *h, uint8_t *buf, int size)
for(;;) { for(;;) {
if (ff_check_interrupt(&h->interrupt_callback)) if (ff_check_interrupt(&h->interrupt_callback))
return AVERROR_EXIT; return AVERROR_EXIT;
/* build fdset to listen to RTP and RTCP packets */
n = poll(p, 2, poll_delay); n = poll(p, 2, poll_delay);
if (n > 0) { if (n > 0) {
/* first try RTCP */ /* first try RTCP */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment