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>
Wed, 30 Jan 2019 23:24:38 +0000 (00:24 +0100)
commit0b50f27635f684ec0526e9975c9979f35bbf486b
tree60e05629cb10b407ce7f6091cdf292e81839c4e0
parent9f4af97aff899571663342fbe68df8caee30097f
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>
libavformat/rtsp.c