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

@@ -293,7 +293,10 @@ int vj_client_read_i( vj_client *v, uint8_t *dst, int len )
&p[0],&p[1],&p[2] );
if(plen <= 0)
return 0;
#ifdef STRICT_CHECKING
assert( p[0] > 0 );
assert( p[1] > 0 );
#endif
v->in_width = p[0];
v->in_height = p[1];
v->in_fmt = p[2];