mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-03 14:36:45 +08:00
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:
@ -3185,6 +3185,7 @@ static int rtp_new_av_stream(HTTPContext *c,
|
|||||||
c->stream->feed->streams[c->stream->feed_streams[stream_index]],
|
c->stream->feed->streams[c->stream->feed_streams[stream_index]],
|
||||||
sizeof(AVStream));
|
sizeof(AVStream));
|
||||||
}
|
}
|
||||||
|
st->priv_data = NULL;
|
||||||
|
|
||||||
/* build destination RTP address */
|
/* build destination RTP address */
|
||||||
ipaddr = inet_ntoa(dest_addr->sin_addr);
|
ipaddr = inet_ntoa(dest_addr->sin_addr);
|
||||||
|
Reference in New Issue
Block a user