mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge commit 'f6161fccf8c5720ceac1ed1df8ba60ff8fed69f5'
* commit 'f6161fccf8c5720ceac1ed1df8ba60ff8fed69f5': rtsp: only break on parse_rtsp_message on error Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
dae6d27aa0
@ -2009,7 +2009,9 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
|
||||
}
|
||||
#if CONFIG_RTSP_DEMUXER
|
||||
if (rt->rtsp_hd && p[0].revents & POLLIN) {
|
||||
return parse_rtsp_message(s);
|
||||
if ((ret = parse_rtsp_message(s)) < 0) {
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
} else if (n == 0 && ++timeout_cnt >= MAX_TIMEOUTS) {
|
||||
|
Loading…
Reference in New Issue
Block a user