Fixed some glitches that cause errors when functions are called before the buffer is full or if there is no motion detected.
Fixed some glitches that cause errors when functions are called before the buffer is full or if there is no motion detected.

git-svn-id: f502b99eb1c95a567c3db4e21cd7828f3e46dcfd@222 2a83181e-c148-0410-bf7c-9f1693d9d8f0

tigerking/pyvision,hitdong/pyvision,hitdong/pyvision,svohara/pyvision,mikeseven/pyvision,tigerking/pyvision,hitdong/pyvision,mikeseven/pyvision,svohara/pyvision,mikeseven/pyvision,tigerking/pyvision,svohara/pyvision