access/http.c: skip debug message when useless

parent 649df079
...@@ -525,11 +525,11 @@ static int ReadICYMeta( access_t *p_access ) ...@@ -525,11 +525,11 @@ static int ReadICYMeta( access_t *p_access )
if( i_read <= 0 ) if( i_read <= 0 )
return VLC_EGENERIC; return VLC_EGENERIC;
msg_Dbg( p_access, "ICY meta size=%d", buffer[0] * 16);
if( buffer[0] <= 0 ) if( buffer[0] <= 0 )
return VLC_SUCCESS; return VLC_SUCCESS;
msg_Dbg( p_access, "ICY meta size=%d", buffer[0] * 16);
psz_meta = malloc( buffer[0] * 16 + 1 ); psz_meta = malloc( buffer[0] * 16 + 1 );
i_read = net_Read( p_access, p_sys->fd, NULL, i_read = net_Read( p_access, p_sys->fd, NULL,
......
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