Commit 6a1a3a70 authored by Gildas Bazin's avatar Gildas Bazin

* modules/access/mms/mmstu.c: reverted broken commit.

parent dcb53b6f
......@@ -677,10 +677,10 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
GetDWLE( p_sys->p_cmd + MMS_CMD_HEADERSIZE + 60 );
msg_Dbg( p_access,
"answer 0x06 flags:0x%8.8x media_length:%ds packet_length:%d packet_count:%d max_bit_rate:%d header_size:%d",
"answer 0x06 flags:0x%8.8x media_length:%us packet_length:%u packet_count:%u max_bit_rate:%d header_size:%d",
p_sys->i_flags_broadcast,
p_sys->i_media_length,
(int) p_sys->i_packet_length,
p_sys->i_packet_length,
p_sys->i_packet_count,
p_sys->i_max_bit_rate,
p_sys->i_header_size );
......@@ -1035,13 +1035,13 @@ static int NetFillBuffer( access_t *p_access )
if( i_tcp > 0 )
{
FD_SET( (unsigned int) p_sys->i_handle_tcp, &fds_r );
FD_SET( (unsigned int) p_sys->i_handle_tcp, &fds_e );
FD_SET( p_sys->i_handle_tcp, &fds_r );
FD_SET( p_sys->i_handle_tcp, &fds_e );
}
if( i_udp > 0 )
{
FD_SET( (unsigned int) p_sys->i_handle_udp, &fds_r );
FD_SET( (unsigned int) p_sys->i_handle_udp, &fds_e );
FD_SET( p_sys->i_handle_udp, &fds_r );
FD_SET( p_sys->i_handle_udp, &fds_e );
}
/* We'll wait 0.5 second if nothing happens */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment