vlc/vlc-1.2 | branch: master | Mirsal Ennaime <[email protected]> | Mon Dec 
19 04:16:50 2011 +0100| [466cdbbcad779ebccd777ca6a70668ed9231b6da] | committer: 
Jean-Baptiste Kempf

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.
(cherry picked from commit b00b016b55143c18e4b49ee300d656813b162f56)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=466cdbbcad779ebccd777ca6a70668ed9231b6da
---

 modules/services_discovery/upnp.cpp |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/modules/services_discovery/upnp.cpp 
b/modules/services_discovery/upnp.cpp
index cc770d9..d572a3b 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -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;
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to