avformat/rtsp: Clear reply in every iteration in ff_rtsp_connect()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 27 Jan 2019 23:53:22 +0000 (00:53 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 24 Mar 2019 09:39:03 +0000 (10:39 +0100)
commite5ea21a58063e1628a2892ed76e5725ba0bfd0cd
tree673a3e4686a4087f578600f91e7759da7f9b0927
parent20337eb1068049692f0c1f9c8a924ca127cdae77
avformat/rtsp: Clear reply in every iteration in ff_rtsp_connect()

Fixes: Infinite loop

Found-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 0b50f27635f684ec0526e9975c9979f35bbf486b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/rtsp.c