possible uninit pointer free()'d

possible bad pointer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3733 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2001-12-25 16:35:57 +00:00
parent 8e368a8571
commit cc4d2ccbd1
1 changed files with 2 additions and 3 deletions

View File

@ -451,10 +451,9 @@ nop_streaming_start( stream_t *stream ) {
fd = -1;
}
stream->fd = fd;
http_free( http_hdr );
}
http_free( http_hdr );
stream->streaming_ctrl->streaming_read = nop_streaming_read;
stream->streaming_ctrl->streaming_seek = nop_streaming_seek;
stream->streaming_ctrl->prebuffer_size = 180000;
@ -543,7 +542,7 @@ rtp_streaming_start( stream_t *stream ) {
streaming_ctrl_t *streaming_ctrl;
int fd;
if( streaming_ctrl==NULL ) return -1;
if( stream==NULL ) return -1;
streaming_ctrl = stream->streaming_ctrl;
fd = stream->fd;