mirror of
https://github.com/game-stop/veejay.git
synced 2026-01-06 15:05:28 +01:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user