]> git.sesse.net Git - ffmpeg/commit
avformat/rtsp: allocate correct max number of pollfds
authorAndriy Gelman <andriy.gelman@gmail.com>
Sat, 26 Sep 2020 22:26:30 +0000 (18:26 -0400)
committerAndriy Gelman <andriy.gelman@gmail.com>
Fri, 9 Oct 2020 03:18:18 +0000 (23:18 -0400)
commit0d156eb58a2bfb136c6481611fad7505b3a2c0c1
treea7f079db095ddd1e74767d68909fedd9168a1b6b
parentb4103e0eb6abd1f289042ce796f4488725fcd156
avformat/rtsp: allocate correct max number of pollfds

There is one general rtsp connection plus two connections per stream (rtp/rtcp).

Reviewed-by: Zhao Zhili <zhilizhao@tencent.com>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
libavformat/rtsp.c