From: Minlei Sun <su...@epoint.com.cn> Signed-off-by: Minlei Sun <su...@epoint.com.cn> --- libavformat/rtspdec.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index 113da975e1..1d5e674149 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -817,6 +817,8 @@ redo: } goto redo; found: + if (rt->ignore_rtcp && (id == 1 || id == 3 )) + goto redo; *prtsp_st = rtsp_st; return len; } -- 2.24.3 (Apple Git-128) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".