mirror of https://github.com/mpv-player/mpv
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:
parent
8e368a8571
commit
cc4d2ccbd1
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue