Commit dae6d27a authored by James Almer's avatar James Almer

Merge commit 'f6161fcc'

* commit 'f6161fcc':
  rtsp: only break on parse_rtsp_message on error
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 514cf22a f6161fcc
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment