[vlc-devel] [PATCH 2/3] access: http: add special non media httpz protocol to force compression

Rafaël Carré funman at videolan.org
Wed Apr 24 22:25:28 CEST 2013


Hello,

Le 24/04/2013 22:20, Francois Cartegnie a écrit :


> @@ -270,6 +271,7 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
>      if( zlibCompileFlags() & (1<<17) )
>          msg_Warn( p_access, "Your zlib was compiled without gzip support." );
>      p_sys->inflate.p_buffer = NULL;
> +    p_sys->b_shouldcompress = ( strcmp( psz_access, "httpz" ) == 0 );

Just nitpicking: the parentheses are not needed.

>  #endif
>      p_sys->p_tls = NULL;
>      p_sys->p_vs = NULL;



More information about the vlc-devel mailing list