Fix segmented buffer case; buffer overflow warning
Fix segmented buffer case; buffer overflow warning

The buffer index was never getting reset, so if a segmented frame was ever
received, nothing would ever work afterwards. This fixes it and it also
makes the overflow warning print only once per frame.

fhunleth/raspijpgs