From 57dbe08b61ba525cf734dbedd0ded6532a60a878 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Tue, 24 Apr 2007 13:28:38 +0000 Subject: [PATCH] Fix ffserver crash when closing the second RTP session Originally committed as revision 8799 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffserver.c b/ffserver.c index 71ef5bfdb5..21292f9540 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3185,6 +3185,7 @@ static int rtp_new_av_stream(HTTPContext *c, c->stream->feed->streams[c->stream->feed_streams[stream_index]], sizeof(AVStream)); } + st->priv_data = NULL; /* build destination RTP address */ ipaddr = inet_ntoa(dest_addr->sin_addr);