Commit e61839ac authored by Rafaël Carré's avatar Rafaël Carré

stream_out_select: no need for a tmp buffer to msg_Info()

parent 2364949c
......@@ -203,11 +203,9 @@ static void* Command(void *p_this)
mutex_cleanup_push(&p_sys->es_lock);
for (int i = 0; i < p_sys->i_es_num; i++)
{
i_len = snprintf(psz_buffer, sizeof(psz_buffer), "%.4s : %d",
msg_Info(p_stream, "%.4s : %d",
(char *)&p_sys->pp_es[i]->fmt.i_codec,
p_sys->pp_es[i]->fmt.i_id);
psz_buffer[i_len] = '\0';
msg_Info(p_stream, psz_buffer);
}
vlc_cleanup_pop();
}
......
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