Commit 59f68250 authored by Marian Durkovic's avatar Marian Durkovic

Declarations before code

parent 58e53b9c
......@@ -627,7 +627,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
static int ParseSAP( services_discovery_t *p_sd, uint8_t *p_buffer, int i_read )
{
int i_version, i_address_type, i_hash, i;
char *psz_sdp, *psz_foo, *psz_initial_sdp;
char *psz_sdp, *psz_foo, *psz_initial_sdp, *psz_end;
uint8_t *p_decompressed_buffer = NULL;
sdp_t *p_sdp;
vlc_bool_t b_compressed;
......@@ -686,8 +686,6 @@ static int ParseSAP( services_discovery_t *p_sd, uint8_t *p_buffer, int i_read )
}
}
char *psz_end;
if( b_compressed )
{
#ifdef HAVE_ZLIB_H
......@@ -911,6 +909,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
char *psz_parse = NULL;
char *psz_uri = NULL;
char *psz_proto = NULL;
char psz_source[258] = "";
int i_port = 0;
/* Parse c= field */
......@@ -1064,7 +1063,6 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
/* handle SSM case */
psz_parse = GetAttribute( p_sdp, "source-filter" );
char psz_source[258] = "";
if (psz_parse != NULL)
{
char psz_source_ip[256];
......
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