Fix overwriting of effect chain entries , fixed loading of acton file on commandline , dummy mode -d is broken

git-svn-id: svn://code.dyne.org/veejay/trunk@389 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2005-09-09 23:38:12 +00:00
parent 0d4bc42925
commit 42f831a264
6 changed files with 105 additions and 120 deletions

View File

@@ -168,7 +168,7 @@ int vj_tag_init(int width, int height, int pix_fmt)
{
int i;
TagHash = hash_create(HASHCOUNT_T_MAX, int_tag_compare, int_tag_hash);
if (!TagHash)
if (!TagHash || width <= 0 || height <= 0)
return -1;
vj_tag_input = (vj_tag_data *) vj_malloc(sizeof(vj_tag_data));
if (vj_tag_input == NULL) {