indeo2: fail if input buffer too small