clear memory before usage in mcast

git-svn-id: svn://code.dyne.org/veejay/trunk@1325 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2009-04-04 14:42:16 +00:00
parent 3a1e16e2f8
commit edd32fd86a
5 changed files with 15 additions and 9 deletions

View File

@@ -291,7 +291,7 @@ int net_thread_start(vj_client *v, vj_tag *tag)
if( tag->source_type == VJ_TAG_TYPE_MCAST )
{
char start_mcast[6];
sprintf(start_mcast, "%03d:;", VIMS_VIDEO_MCAST_START);
snprintf(start_mcast,sizeof(start_mcast), "%03d:;", VIMS_VIDEO_MCAST_START);
veejay_msg(VEEJAY_MSG_DEBUG, "Request mcast stream from %s port %d",
tag->source_name, tag->video_channel);