while hacking through the vmix_core.c file, I found this line at line 1642 ( 'hg log' shows most recent change set as 875 )
if ((portc = PMALLOC (mixer->osedv, sizeof (*portc))) == NULL) After grepping for similar patterns through the sources, the mistake is found to be at 4 places. v...@mylinux mercurial.opensound.com]$ grep -R osedv . ./kernel/drv/oss_madi/oss_madi.c: if ((portc = PMALLOC (devc->osedv, sizeof (*portc))) == NULL) ./kernel/drv/oss_madi/oss_madi.c: if ((portc = PMALLOC (devc->osedv, sizeof (*portc))) == NULL) ./kernel/framework/vmix_core/vmix_core.c: if ((portc = PMALLOC (mixer->osedv, sizeof (*portc))) == NULL) ./kernel/framework/vmix_core/vmix_core.c: if ((portc = PMALLOC (mixer->osedv, sizeof (*portc))) == NULL) The mistake is not that significant ( osdev is not being used inside PMALLOC macro ), but anyway a mistake is a mistake and needs to be corrected and hence I thought of just pin pointing it.
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel