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>
Thu, 21 Mar 2019 09:42:51 +0000 (10:42 +0100)
commit636e66f3500108476ef6d251bf53587d1c7b86d5
tree549d6057c1bbdffb63ec901ef78e6f290d2a17c8
parentc600c06af96e7cadae6b77e54b220c1c2a240a80
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