@@ -623,7 +623,7 @@ static int op_parse_url(OpusParsedURL *_dst,const char *_src){
623
623
op_parsed_url_init (& url );
624
624
ret = op_parse_url_impl (& url ,_src );
625
625
if (OP_UNLIKELY (ret < 0 ))op_parsed_url_clear (& url );
626
- else * _dst = * & url ;
626
+ else * _dst = url ;
627
627
return ret ;
628
628
}
629
629
@@ -1068,7 +1068,7 @@ static void op_http_conn_read_rate_update(OpusHTTPConn *_conn){
1068
1068
read_rate = _conn -> read_rate ;
1069
1069
read_delta_ms = OP_MAX (read_delta_ms ,1 );
1070
1070
read_rate += read_delta_bytes * 1000 /read_delta_ms - read_rate + 4 >>3 ;
1071
- * & _conn -> read_time = * & read_time ;
1071
+ _conn -> read_time = read_time ;
1072
1072
_conn -> read_bytes = 0 ;
1073
1073
_conn -> read_rate = read_rate ;
1074
1074
}
@@ -2087,7 +2087,7 @@ static int op_http_connect_impl(OpusHTTPStream *_stream,OpusHTTPConn *_conn,
2087
2087
_conn -> next = _stream -> lru_head ;
2088
2088
_stream -> lru_head = _conn ;
2089
2089
op_time_get (_start_time );
2090
- * & _conn -> read_time = * _start_time ;
2090
+ _conn -> read_time = * _start_time ;
2091
2091
_conn -> read_bytes = 0 ;
2092
2092
_conn -> read_rate = 0 ;
2093
2093
/*Try to start a connection to each protocol.
@@ -2201,7 +2201,7 @@ static int op_http_connect(OpusHTTPStream *_stream,OpusHTTPConn *_conn,
2201
2201
new_addrs = op_resolve (_stream -> connect_host ,_stream -> connect_port );
2202
2202
if (OP_LIKELY (new_addrs != NULL )){
2203
2203
_addrs = new_addrs ;
2204
- * & _stream -> resolve_time = * & resolve_time ;
2204
+ _stream -> resolve_time = resolve_time ;
2205
2205
}
2206
2206
else if (OP_LIKELY (_addrs == NULL ))return OP_FALSE ;
2207
2207
}
@@ -2719,7 +2719,7 @@ static int op_http_stream_open(OpusHTTPStream *_stream,const char *_url,
2719
2719
/*Always try to skip re-resolve for proxy connections.*/
2720
2720
else addrs = & _stream -> addr_info ;
2721
2721
op_parsed_url_clear (& _stream -> url );
2722
- * & _stream -> url = * & next_url ;
2722
+ _stream -> url = next_url ;
2723
2723
/*TODO: On servers/proxies that support pipelining, we might be able to
2724
2724
re-use this connection.*/
2725
2725
op_http_conn_close (_stream ,_stream -> conns + 0 ,& _stream -> lru_head ,1 );
@@ -3197,7 +3197,7 @@ static int op_http_stream_seek(void *_stream,opus_int64 _offset,int _whence){
3197
3197
/*Mark when we deactivated the active connection.*/
3198
3198
if (ci >=0 ){
3199
3199
op_http_conn_read_rate_update (stream -> conns + ci );
3200
- * & seek_time = * & stream -> conns [ci ].read_time ;
3200
+ seek_time = stream -> conns [ci ].read_time ;
3201
3201
}
3202
3202
else op_time_get (& seek_time );
3203
3203
/*If we seeked past the end of the stream, just disable the active
@@ -3423,7 +3423,7 @@ static void *op_url_stream_create_impl(OpusFileCallbacks *_cb,const char *_url,
3423
3423
_ogg_free (stream );
3424
3424
return NULL ;
3425
3425
}
3426
- * _cb = * & OP_HTTP_CALLBACKS ;
3426
+ * _cb = OP_HTTP_CALLBACKS ;
3427
3427
return stream ;
3428
3428
}
3429
3429
#else
@@ -3516,7 +3516,7 @@ void *op_url_stream_vcreate(OpusFileCallbacks *_cb,
3516
3516
OpusServerInfo * pinfo ;
3517
3517
void * ret ;
3518
3518
ret = op_url_stream_vcreate_impl (_cb ,_url ,& info ,& pinfo ,_ap );
3519
- if (pinfo != NULL )* pinfo = * & info ;
3519
+ if (pinfo != NULL )* pinfo = info ;
3520
3520
return ret ;
3521
3521
}
3522
3522
@@ -3549,7 +3549,7 @@ OggOpusFile *op_vopen_url(const char *_url,int *_error,va_list _ap){
3549
3549
if (pinfo != NULL )opus_server_info_clear (& info );
3550
3550
(* cb .close )(source );
3551
3551
}
3552
- else if (pinfo != NULL )* pinfo = * & info ;
3552
+ else if (pinfo != NULL )* pinfo = info ;
3553
3553
return of ;
3554
3554
}
3555
3555
@@ -3579,7 +3579,7 @@ OggOpusFile *op_vtest_url(const char *_url,int *_error,va_list _ap){
3579
3579
if (pinfo != NULL )opus_server_info_clear (& info );
3580
3580
(* cb .close )(source );
3581
3581
}
3582
- else if (pinfo != NULL )* pinfo = * & info ;
3582
+ else if (pinfo != NULL )* pinfo = info ;
3583
3583
return of ;
3584
3584
}
3585
3585
0 commit comments