Found by OSS-Fuzz.

Signed-off-by: Kacper Michajłow <kaspe...@gmail.com>
---
 libavformat/rtpproto.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index b1cdf061f0..15d0050936 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -379,6 +379,7 @@ static int rtp_open(URLContext *h, const char *uri, int 
flags)
     return 0;
 
  fail:
+    ff_ip_reset_filters(&s->filters);
     ffurl_closep(&s->rtp_hd);
     ffurl_closep(&s->rtcp_hd);
     ffurl_closep(&s->fec_hd);
-- 
2.43.0

_______________________________________________
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".

Reply via email to