Commit b00b016b authored by Mirsal Ennaime's avatar Mirsal Ennaime

upnp: Use the default maximum content length of 16k.

Setting libupnp's maximum content length to zero makes it unable to
fetch any didl instead of the probably expected unlimited behavior.
parent 02f60487
......@@ -136,14 +136,6 @@ static int Open( vlc_object_t *p_this )
return VLC_EGENERIC;
}
i_res = UpnpSetMaxContentLength( 0 );
if( i_res != UPNP_E_SUCCESS )
{
msg_Err( p_sd, "Failed to set maximum content length: %s", UpnpGetErrorMessage( i_res ) );
Close( (vlc_object_t*) p_sd );
return VLC_EGENERIC;
}
return VLC_SUCCESS;
}
......
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