diff options
author | Luca Abeni <lucabe72@email.it> | 2007-04-24 13:28:38 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-04-24 13:28:38 +0000 |
commit | 57dbe08b61ba525cf734dbedd0ded6532a60a878 (patch) | |
tree | 59a7bad259657611c640e183f2e9e153a55dab79 /ffserver.c | |
parent | 7d88b5ca0224dc898ba95beec1314849780f10bd (diff) | |
download | ffmpeg-57dbe08b61ba525cf734dbedd0ded6532a60a878.tar.gz |
Fix ffserver crash when closing the second RTP session
Originally committed as revision 8799 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |