From: Luca Abeni Date: Tue, 24 Apr 2007 13:28:38 +0000 (+0000) Subject: Fix ffserver crash when closing the second RTP session X-Git-Tag: v0.5~9230 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57dbe08b61ba525cf734dbedd0ded6532a60a878;p=platform%2Fupstream%2Flibav.git Fix ffserver crash when closing the second RTP session Originally committed as revision 8799 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/ffserver.c b/ffserver.c index 71ef5bf..21292f9 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);