Fix ffserver crash when closing the second RTP session

Originally committed as revision 8799 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Luca Abeni 2007-04-24 13:28:38 +00:00
parent 7d88b5ca02
commit 57dbe08b61

View File

@ -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);