Sun, 19 Dec 2010 20:30:38 +0000
Fix a crash on receiving a file with no preview that I just introduced
with the new functions. The preview pointer/size was left
uninitialized if there wasn't one.
/* * camproc.h * basecame * * Created by CS194 on Mon Apr 26 2004. * Copyright (c) 2004 __MyCompanyName__. All rights reserved. * */ //#pragma once #ifdef __APPLE_CC__ #include <Carbon/Carbon.h> #else #include <Carbon.h> #endif #include "cc_interface.h" #include "filter.h" void Die(void); OSErr CamProc(struct input_instance *inst, filter_bank *bank); void QueryCam (void);