Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1549 → Rev 1550

/demos/trunk/bttvdemo/bttv.c
62,7 → 62,7
void program_end(void *arg)
{
 
sys_end();
exit(0);
}
 
268,7 → 268,7
 
if (argc < 2) {
sys_shutdown_message("ERROR: Enter the input channel [ex> %s 0]\n",argv[0]);
sys_end();
exit(1);
}
 
channel = atoi(argv[1]);
288,13 → 288,13
grab_task_pid = task_create("GrabTask",grab_task,&gt,NULL);
if (grab_task_pid == NIL) {
sys_shutdown_message("ERROR: Cannot create grab task\n");
sys_end();
exit(1);
}
 
elaborate_task_pid = task_create("ElaborateTask",elaborate_task,&et,NULL);
if (grab_task_pid == NIL) {
sys_shutdown_message("ERROR: Cannot create elaborate task\n");
sys_end();
exit(1);
}
 
#ifdef COLOR
333,7 → 333,7
 
sleep(1);
 
sys_end();
exit(1);
 
return 0;