]> git.sesse.net Git - ffmpeg/commit
avformat/rtspdec: add network init to listen mode
authorAndriy Gelman <andriy.gelman@gmail.com>
Mon, 12 Oct 2020 20:36:04 +0000 (16:36 -0400)
committerAndriy Gelman <andriy.gelman@gmail.com>
Sat, 21 Nov 2020 15:11:38 +0000 (10:11 -0500)
commit423d06e0e22d3c1c62124420532206542488b10f
treea806c2667116c0864abd46732ff968e2a08f8a53
parent09f1d15ae8bd1d7f597aec9ced4f8ebe8762a4bd
avformat/rtspdec: add network init to listen mode

As per the docs network initialization is required before ff_url_join().
Furthermore, because the ff_network_init() was skipped, this makes
one additional call to ff_network_close() if the stream exits without
errors.

The was forgotten in the origin commit of the listen mode:
a8ad6ffafe89e3a83f343f69249338e8245816f7

Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
libavformat/rtspdec.c