Message ID | 20210417165528.79321-3-sunml@epoint.com.cn |
---|---|
State | New, archived |
Headers | show |
Series | [FFmpeg-devel,v1,1/3] libavformat/rtsp.h : Add member ignore_rtcp to RTSPState | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
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; }