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, 31 Jan 2019 16:29:41 +0000 (17:29 +0100)
commite75a73d6294807a8d4d6022280cd6e25dac32990
treea608e73568fe31a689978e710bb52c4c102e11c6
parentb482e94e59b15efde07326619c3cdab5826d1320
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